Dazza Posted November 21, 2008 Posted November 21, 2008 Hello, I had a problem with my crons, eventually I contacted my host they fixed them for me, not sure but I think it was a coding issue rather than me inputting the wrong crontab command line. Now, the energy bars etc dont replenish every 5mins etc - Infact I think they only update at the start of every day. To me this sounds like the day cron works, but the others dont. Not sure if its allowed etc but could someone send me the original cron scripts or perhaps advise me what this issue could be? Thanks in advance Quote
Dazza Posted November 21, 2008 Author Posted November 21, 2008 Re: Crons! Dont worry its not the usual question Can anyone help? Quote
AlabamaHit Posted November 21, 2008 Posted November 21, 2008 Re: Crons! Dont worry its not the usual question If its a code error you will get an errror........Run them manually......and see. Quote
HITMAN 17 Posted November 21, 2008 Posted November 21, 2008 Re: Crons! Dont worry its not the usual question maybe the host didnt fix them Quote
Dazza Posted November 22, 2008 Author Posted November 22, 2008 Re: Crons! Dont worry its not the usual question I know the host has fixed atleast one on them (day cron). How do I run them manually? *rushes to google for an answer Quote
Dazza Posted November 22, 2008 Author Posted November 22, 2008 Re: Crons! Dont worry its not the usual question Learnt alittle now, Iv run them manually and they dont work. Checked the error logs and they are failing. Now need to find out why so just reading the logs to see Quote
Dazza Posted November 22, 2008 Author Posted November 22, 2008 Re: Crons! Dont worry its not the usual question Right when I run them manually they dont work. The log says the fivemin cron path is wrong (fair enough I can solve that, I think) but heres the one that baffles me: PHP Fatal error: require() [function.require]: Failed opening required 'class/class_db_mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/crons/cron_minute.php on line 6 A quick look at line 6 has this: require "/home/*****/public_html/class/class_db_{$_CONFIG['driver']}.php"; Could anyone else or perhaps advise on how I could solve this, to me it seems that class_db.php is at fault Quote
AlabamaHit Posted November 22, 2008 Posted November 22, 2008 Re: Crons! Dont worry its not the usual question the one "wrong path" the Key is probarly wrong, in the cron tab in cpanel are you sure you put in the crons with the code? Quote
Dazza Posted November 22, 2008 Author Posted November 22, 2008 Re: Crons! Dont worry its not the usual question Yes the command line in crontab does contain the same code as is in the config.php file - Checked that already :-D Quote
Dazza Posted November 24, 2008 Author Posted November 24, 2008 Re: Crons! Dont worry its not the usual question BUMP! Could someone please spend a min having a think about what this could be please 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.