Monkey644 Posted December 24, 2009 Posted December 24, 2009 Hi all, Wondering if you can help me. My crons break on me, i get the server refreshed for them, they work then break again :S Anyone have ideas? Thank you for reading, Monkey644 Quote
DeaTH_RideR Posted December 25, 2009 Posted December 25, 2009 maybe if you could give us a little more info someone might be able to help ya out :thumbup: Quote
Monkey644 Posted December 25, 2009 Author Posted December 25, 2009 I'm not too sure what to say. All i know is that they stop working after an hour or so, sometimes takes a few hours to stop working, so not sure if its Day crons or Hour crons that stop them. If needed i could post my crons up for view. Quote
kryptonite Posted December 25, 2009 Posted December 25, 2009 your crons Are you using the right ones?i had the same problem so i was told to go to config.php and use the code that is in there. copy that and put them in the cron jobs hr min day all and it should work good from then on ! Quote
kaine- Posted December 26, 2009 Posted December 26, 2009 same with me i just tried this but it doesnt work do the crons need to go in order like minute first 5min second and so on? Quote
Monkey644 Posted December 26, 2009 Author Posted December 26, 2009 All my crons codes are in the correct order and the code is the same as the one in config.php I have been adding things to my site which has needed editing of crons hour and day... Could this have anything to do with it? Quote
Paddy Posted December 26, 2009 Posted December 26, 2009 have you tried running them manually each to see if one or more give any error? Quote
Monkey644 Posted December 26, 2009 Author Posted December 26, 2009 Don't want to sound noobish, but i dont have a clue how to do that :S... Quote
Paddy Posted December 26, 2009 Posted December 26, 2009 Don't want to sound noobish, but i dont have a clue how to do that :S...Well basically you need to do this run your cron trough the URL bar http://www.yourdomain.com/cron_whatever.php?code=123456 etc then see the outcome, dont worry to ask where you dont know ;) PS is your game live? if so try not running them to much and create a back up Quote
Monkey644 Posted December 26, 2009 Author Posted December 26, 2009 I've just tested all my crons, they work fine... Should i delete them from the server and re-add them? See if that works? Quote
Paddy Posted December 26, 2009 Posted December 26, 2009 I've just tested all my crons, they work fine... Should i delete them from the server and re-add them? See if that works? try adding this error_reporting(E_ALL); right after the <?php try it on a day cron or what ever you think is given you an error so on top it will look like this <?php error_reporting(E_ALL); see what that gives you, Deleting them wont solve your issue Quote
Monkey644 Posted December 26, 2009 Author Posted December 26, 2009 Nothing, just coming up with a blank screen... Quote
bennybwoi Posted December 26, 2009 Posted December 26, 2009 hey peeps, im having the same problems ive tried it manually and it works for all crons and codes right and everything, could it just be the host crons work dont work? OR does cronwork work cuz i can use it manually? an ideas? :?: :?: :?: ^^ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.