Debian Codegraph @

example_project/crontab

raw
1 # This goes in /etc/cron.d/.
2 # Replace "apache" by your webserver user ("www-data" on Debian systems) and
3 # set the path to the Django project directory
4
5 @hourly apache django-admin runjobs hourly --pythonpath /path/to/project --settings settings
6 @daily apache django-admin runjobs daily --pythonpath /path/to/project --settings settings
7 @weekly apache django-admin runjobs weekly --pythonpath /path/to/project --settings settings
8 @monthly apache django-admin runjobs monthly --pythonpath /path/to/project --settings settings
9 @yearly apache django-admin runjobs yearly --pythonpath /path/to/project --settings settings
10
11 # Currently Hyperkitty has no minutely and quarter_hourly jobs. The purpose of
12 # the next lines is to ease the upgrading process, in the eventual case that
13 # Hyperkitty will utilize minutely or quarter_hourly jobs.
14 2,17,32,47 * * * * apache django-admin runjobs quarter_hourly --pythonpath /path/to/project --settings settings
15 * * * * * apache django-admin runjobs minutely --pythonpath /path/to/project --settings settings