Jump to content
MakeWebGames

Recommended Posts

Posted

Hey, so i just put my MCCodes up on my host (free one for now, just as i practise) Will upload it all to a paid host onces it's complete.

But my energy will not re gen once it's been used.. any help?

Posted

If you are on a Free Host you need to check and make sure they allow cron Jobs.

If they do not, all things that involve count

jail count, hospital count, stat bars, etc

Will not budge ^_^

Posted

free1gig.net

It = impossible to find a decent free host which allows crons :P

This is the only free host i can find which allows crons, and a decent amount of space..

Posted

But what crons do they allow? ^_-

1 minute, 5 minute etc.

Basically setting up your cron you need the code it gave you on install and you need to use that cron code on your cron jobs. It's easier to use the advanced cron options

Posted

Yep

 

2 questions now

are your crons in the public_html root directory

 

And

where it says ?code=

did you put the code it gave you ?

Posted

It's still not working, lol.

 


<?php
$_CONFIG = array(
'hostname' => 'localhost',
'username' => '*************',
'password' => '*************',
'database' => '*************',
'persistent' => 0,
'driver' => 'mysql',
'code' => 'a76980f6a5008353c3de36f9c4a7394c'
);
?>

 

That's my config file..

Posted

a76980f6a5008353c3de36f9c4a7394c

Use that code but now change it as people could now run your crons without you knowing :)

cron_day.php?code=a76980f6a5008353c3de36f9c4a7394c

;)

Posted
lol @ 90% sure. Sorry that made me chuckle pretty good.

Well, i wasn't going to lie, lool. I wasn't 100% sure, and not even 99%.. so i just put 90% lol.

And i've added the curl, thing.. still nothing.. -__-;

Posted
This may have cropped up already but did you add a email?

They normally don't run unless a email is added, use one from your domain and empty it regularly.

good point.. this is normally the case as to why i suggested adding

 >/dev/null 2>&1

at the end of the command this will disable any notification attempt for the specified cron.

Keep it on for daily crons if you want for a verify but no need to have it send a notify on 1m or 5m crons ..

Posted

WRX I FRCKEN LOVE YOU!!!!

 

I ran them, and did that code, and it works.. you my friend are a genius :P

 

 

And thanks to all the others who tried to help! :D

Energy: 16%, it wont go any higher, lol..

Every time i open a certain cron (in the links) it gives me more energy..

Posted
Every time i open a certain cron (in the links) it gives me more energy..

If by that statement you mean you can manually run the http://yourdomain.com/cron_day.php?code=codehere from your web browser and it works but if you run

"curl http://yourdomain.com/cron_day.php?code=codehere" via the cron tab and it dosent work, then verify that "curl" is an available wrapper to be called.

your host should be able to verify this for you.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...