Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: kwak on March 14, 2012, 04:14:18 AM
-
Hi,
I'm having issues with cron for moodle. I noticed that messages are not being sent out from moodle. I run the cron.php manually and it works. I followed the guide on adding the cron job in /etc/crontab, but it seems that the cron is not executing.
Please help.
Edward
-
If you tell us what you did, we might be able to help.
- (exactly) how do you run cron.php manually?
- (exactly) what guide did you follow on adding the cron job to /etc/crontab, and what steps did you follow?
-
Did you already check the /var/log/cron files for clues? Normally errors might be logged there or perhaps in /var/log/messages.
-
The steps found in this thread. I create a custom template.
http://forums.contribs.org/index.php?topic=24392.0
I get this error
ERROR: This script no longer supports CLI, please use admin/cli/cron.php instead
I have this line in /etc/e-smith/template-custom/etc/cron.d/moodle
*/5 * * * * php /home/e-smith/files/ibays/Primary/html/admin/ cron.php > /dev/null
Edward
-
The steps found in this thread. I create a custom template.
http://forums.contribs.org/index.php?topic=24392.0
I get this error
ERROR: This script no longer supports CLI, please use admin/cli/cron.php instead
I have this line in /etc/e-smith/template-custom/etc/cron.d/moodle
*/5 * * * * php /home/e-smith/files/ibays/Primary/html/admin/ cron.php > /dev/null
Edward
the answer is in the error message.. don't call /admin/cron.php but /admin/cli/cron.php
-
Moving to Contribs section of the Forums.