Configure scheduled tasks
Moodle(TM) LMS requires a cron task that must be run regularly. The administrator can do this from the admin panel’s “Site Administration -> Notifications” menu. To run this task in the background, create a cron job. To edit the crontab, follow these steps :
Cron tasks are already installed and enabled by default. To update the existing cron entry or add a new one, follow these steps:
Open and edit the /etc/cron.d/moodle cron file for Moodle.
Add the following line:
*/1 * * * * daemon /opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null
Save and exit.
Once configured, this cron entry will run the script every minute.