Jump to content
MakeWebGames

Crons! Dont worry its not the usual question


Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

Posted

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

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...