1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-26 05:42:22 +00:00
plateforme-tfjm2/tfjm.cron

21 lines
906 B
Plaintext
Raw Normal View History

2020-12-27 10:49:54 +00:00
# min hour day month weekday command
# 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
# Rebuild search index
0 * * * * cd /code && python manage.py update_index -v 0
# Recreate sympa lists
*/6 * * * * cd /code && python manage.py fix_sympa_lists &> /dev/null
# Update matrix channels
*/6 * * * * cd /code && python manage.py fix_matrix_channels &> /dev/null
# Check payments from Hello Asso
*/6 * * * * cd /code && python manage.py check_hello_asso &> /dev/null
# Clean temporary files
30 * * * * rm -rf /tmp/*