Yeah i can
If they worked previously, and you can run them manually, it sounds like a hosting issue, possibly.
I had the same problem and this is how I solved it.
*/5 * * * * wget -c http://www.yourgame.com/cron_fivemins.php?code=your code here
Try it and see if it works then. Good luck to you.
A bit irrelevant, but I might aswell share for developers. There's a way to avoid using cronjobs simply by using timestamps.
You can generate a timestamp for how long a user will be in jail (time()+60*60 = 1 hour ahead in the future), for example and then check whether time() has exceeded the timestamp and if so, they aren't in jail anymore. That principle is not only resource friendly, but it saves the headache of cronjob's not working. In some things, you might need a cron job but reducing the dependency on them will make things a lot easier.
Just another dude.
http://www.makewebgames.com/showthre...l=1#post200951
Sure, Timestamps can help.![]()
This Thread helped me fix my cron problem thanks guys
CB
braidz your problem might be your hosting might not allow cron jobs , maybe change host , if your hosting is free , go premium?
Bookmarks