Skip to content
Professor Colin Turner edited this page Sep 4, 2018 · 5 revisions

You will probably wish to ensure some functionality runs automatically. An entry can be placed into /etc/cron.d like below. Please modify your paths accordingly.

# cron.d entry for WAM # Minute Hour dow mon dow year user group cmd

# Send task teminders on Monday morning 0 7 * * 1 * www-data /usr/bin/python3 /usr/local/share/WAM/manage.py email_reminders

# Send urgent ones on other week days 0 7 * * 2-5 * www-data /usr/bin/python3 /usr/local/share/WAM/manage.py email_reminders --urgent-only

# Email assessment updates. Check every hour, only Monday to Friday 0 * * * 1-5 * www-data /usr/bin/python3 /usr/local/share/WAM/manage.py email_assessmentupdates