Forums | Mahara Community

Support /
Skipping long-running cron jobs


15 April 2016, 21:46

it's seems to be a bug with :

[INF] c5 (lib/cron.php:501) Skipping long-running cron job core_cron_site_data_daily (Fri, 15 Apr 2016 11:01:01 +0200).
...
[INF] c5 (lib/cron.php:168) ---------- cron finished Fri, 15 Apr 2016 11:15:02 +0200 ----------

 

I can't imagine to delete the entries in the config table all the time.... and if I delete those entries the parse error '[' occurs one time.....

Ghada El-Zoghbi's profile picture
Posts: 122

15 April 2016, 23:30

Hi Jean-Paul,

What version of PHP are you running?

The short array syntax that is used in graph.php needs at least PHP 5.4:

http://php.net/manual/en/language.types.array.php

Mahara 15.10 requires a minimum PHP version 5.5:
https://wiki.mahara.org/wiki/System_Administrator's_Guide/Requirements

Can you make sure your server is running PHP 5.5 or higher?

Thanks,
Ghada

16 April 2016, 0:18

Hiha !

My config : Scientific Linux release 6.7 + php-5.3.3-46.el6_6.x86_64

Unfortunately , our local repositoty REMI are not up to date... I will ask to our admin to update our local repository REMI from http://rpms.remirepo.net/enterprise/6/remi/x86_64/ which contains php-5.4 and 5.5...

Thank you ! 

 

Ghada El-Zoghbi's profile picture
Posts: 122

16 April 2016, 0:31

Hi,

I'm glad we got to the bottom of it!

Good luck with the rest of your upgrade.

Cheers,
Ghada

21 April 2016, 20:56

Hi, that's pretty cool now.

CRON is running without any error. I simply updated my machine.

=> PHP 5.6.20 on a Scientific Linux release 6.7.

Thank you for your help !

 

35 results