Skip to content

Commit

Permalink
Ajouter un cron en cas de problème avec le broker
Browse files Browse the repository at this point in the history
Si Redis venais a avoir un problème, les documents serait tout de même
scanés et les mails envoyés.
  • Loading branch information
Anto59290 committed Mar 4, 2025
1 parent 57bb7e8 commit 68e1d04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cron.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"jobs": [
{
"command": "*/10 * * * * python manage.py scan_documents",
"size": "2XL"
},
{
"command": "*/10 * * * * python manage.py send_queued_mail",
"size": "2XL"
}
]
}

0 comments on commit 68e1d04

Please sign in to comment.