The cli/cron.php maintenance script has not been run for at least 24 hours.

Re: The cli/cron.php maintenance script has not been run for at least 24 hours.

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

Now this is confusing ...  'issue that I have is that there is a cron job that is running but it is not appearing in moodle or it is not running the one that moodle needs to be run.'

Do you have ssh access to your server?

If so, humor me ... enter php -v [ENTER].

If so, humor me ... and run:

/opt/cpanel/imh-php70/root/usr/bin/php -v

come back here and share what that showed!

IF so, use the same command as configured in your cron setup from command line - just the basic command without any options/switches NOR the redirects at the end ... ie, NO >whatever.

/opt/cpanel/imh-php70/root/usr/bin/php (NO -q) /home/uepedu/my.domain.edu/admin/cli/cron.php

The imh in the command above indicates you are hosted on InMotion Hosting.   They do have tutorials and a helpdesk for customers.   Have you checked those resources of help/assistance?

Run that several times as a task may not be scheduled to run until later.

The cron job consist of 'task'.   Look at your moodles 'scheduled task' for a clue as to which/what isn't running successfully.

'spirit of sharing', Ken


Average of ratings: Useful (1)