2020-12-27 10:49:54 +00:00
|
|
|
# min hour day month weekday command
|
2021-01-18 21:33:43 +00:00
|
|
|
# Send pending mails
|
2020-12-27 10:49:54 +00:00
|
|
|
* * * * * cd /code && python manage.py send_mail -c 1
|
|
|
|
* * * * * cd /code && python manage.py retry_deferred -c 1
|
|
|
|
0 0 * * * cd /code && python manage.py purge_mail_log 7 -c 1
|
|
|
|
|
2024-02-23 22:08:47 +00:00
|
|
|
# Update search index
|
|
|
|
*/2 * * * * cd /code && python manage.py update_index &> /dev/null
|
|
|
|
|
2021-01-18 21:33:43 +00:00
|
|
|
# Recreate sympa lists
|
2024-05-19 19:18:58 +00:00
|
|
|
7 3 * * * cd /code && python manage.py fix_sympa_lists &> /dev/null
|
2021-01-18 21:33:43 +00:00
|
|
|
|
2021-01-18 22:00:39 +00:00
|
|
|
# Check payments from Hello Asso
|
|
|
|
*/6 * * * * cd /code && python manage.py check_hello_asso &> /dev/null
|
2024-02-23 17:02:24 +00:00
|
|
|
# Send reminders for payments
|
|
|
|
30 6 * * 1 cd /code && python manage.py remind_payments &> /dev/null
|
2021-01-21 20:44:43 +00:00
|
|
|
|
2024-03-30 15:36:57 +00:00
|
|
|
# Check notation sheets every 15 minutes from 08:00 to 23:00 on fridays to mondays in april and may
|
2024-04-06 19:55:46 +00:00
|
|
|
# */15 8-23 * 4-5 5,6,7,1 cd /code && python manage.py parse_notation_sheets -v 0
|
|
|
|
|
|
|
|
# Update Google Drive notifications daily
|
|
|
|
0 0 * * * cd /code && python manage.py renew_gdrive_notifications &> /dev/null
|
2024-03-30 15:36:57 +00:00
|
|
|
|
2021-01-21 20:44:43 +00:00
|
|
|
# Clean temporary files
|
|
|
|
30 * * * * rm -rf /tmp/*
|