mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-04-01 19:31:11 +00:00
27 lines
1.2 KiB
Plaintext
27 lines
1.2 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
|
|
|
|
# Fetch LimeSurvey completion data
|
|
*/15 * * 03-06 * cd /code && python manage.py fetch_survey_completion_data -v 0
|
|
|
|
# Clean temporary files
|
|
30 * * * * rm -rf /tmp/*
|