Created
April 19, 2018 10:58
-
-
Save willianmano/e4e435434002d1dc12eaec73f5d1db39 to your computer and use it in GitHub Desktop.
Moodle cron
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* * * * * www-data /usr/local/bin/run_moodle_cron_tasks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/bin/echo "##################" >> /var/log/moodle/cron.log | |
/bin/date >> /var/log/moodle/cron.log | |
/usr/bin/php /var/www/html/moodle/admin/cli/cron.php &>> /var/log/moodle/cron.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment