Install cron
Moodle needs a periodic call to do maintenance work like sending out emails, cleaning up the database, updating feeds, etc. To run the cron every 10 minutes, do the following
crontab -u www-data -e
Add this line and save.
*/10 * * * * /usr/bin/php /var/www/moodle/admin/cli/cron.php >/dev/null
0 comments:
Post a Comment