Jump to content
MakeWebGames

Crons! Dont worry its not the usual question


Dazza
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...