Forums | Mahara Community
Cron and Version 16.10.2
13 March 2017, 4:16 PM
Are there any instances that Cron has trouble with when run automatically via CLI?
One of my servers runs cron from time to time and then not at others. My server management team tell me the server logs show cron has run but cron is not running according to Mahara. I can run cron from the URL and sometimes Mahara reports cron as running but other times as not running.
There are no additional plugins. Mahara 16.10.2 is out of the box as designed.
13 March 2017, 5:09 PM
Are there long running or hung processes in your cron run?
Can run the following query on your DB:
select * from config where field like '%cron%';
If records come back, then you've got a process that is running for a long time or it may have crashed.
Are you getting any errors in the apache error log?
13 March 2017, 6:06 PM
I will do the homework.
13 March 2017, 7:15 PM
Okay here are the results.
mysql> select * from config where field like '%cron%';
Empty set (0.00 sec)
Apache error log.
There are no mahara site errors today.