mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-03-18 07:31:13 +00:00
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
# min hour day month weekday command
|
|
# Send pending mails
|
|
* * * * * 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
|
|
|
|
# Update search index
|
|
*/2 * * * * cd /code && python manage.py update_index &> /dev/null
|
|
|
|
# Recreate sympa lists
|
|
7 3 * * * cd /code && python manage.py fix_sympa_lists &> /dev/null
|
|
|
|
# Check payments from Hello Asso
|
|
*/30 * * 03-05 * cd /code && python manage.py check_hello_asso -v 0
|
|
|
|
# Send reminders for payments
|
|
30 6 * 03-05 1 cd /code && python manage.py remind_payments -v 0
|
|
|
|
# Update Google Drive notifications daily
|
|
0 0 * * * cd /code && python manage.py renew_gdrive_notifications -v 0
|
|
|
|
# Clean temporary files
|
|
30 * * * * rm -rf /tmp/*
|