Cron - openlibhums/janeway GitHub Wiki

Janeway has three areas where emails are sent out via Cron and one area where items are fetched from an API via Cron.

  • Email
    • Reminders
    • CronTasks
    • Digest Emails
  • Crosscheck
    • Fetching Crosscheck % marks

All of these are exectued via a single command line call:

python3 manage.py execute_cron_tasks

They are executed in this order:

  • Digest Emails
  • Reminders
  • Cron Tasks (limited to 5 per cron call)

During the installation process, if nothing goes wrong, a command is called that will install Cron tasks, if you think this has not run properly you can re-run it by calling:

python3 mange.py install_cron

If you use a virtualenv you should activate it before calling. By default JW's cron tasks are run every 10 mins but the majority of calls will do nothing.