Forums | Mahara Community

Open Discussion /
Cron and Version 16.10.2


Keith Morton's profile picture
Posts: 18

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.

Ghada El-Zoghbi's profile picture
Posts: 121

13 March 2017, 5:09 PM

Hi Keith,

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?

Thanks,

Ghada

 

Keith Morton's profile picture
Posts: 18

13 March 2017, 6:06 PM

Thanks Ghada

 

I will do the homework.

 

Keith

Keith Morton's profile picture
Posts: 18

13 March 2017, 7:15 PM

Okay here are the results.

 

mysql> select * from config where field like '%cron%';
Empty set (0.00 sec)
mysql>

Apache error log. 

There are no mahara site errors today.

4 results