Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dépôt de besoin] Répare les horaires du cron d'envoi des besoins validés #1017

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clevercloud/cron.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"0 9 * * * $ROOT/clevercloud/tenders_send_siae_contacted_reminder_emails.sh",
"10 9 * * * $ROOT/clevercloud/tenders_send_siae_interested_reminder_emails.sh",
"20 9 * * * $ROOT/clevercloud/tenders_send_author_incremental.sh",
"*/5 9-17 * * 1-5 $ROOT/clevercloud/tenders_send_validated.sh"
"*/5 8-15 * * 1-5 $ROOT/clevercloud/tenders_send_validated.sh"
]
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ class Command(BaseCommand):
Command to send validated tenders

Note: run via a CRON
"*/5 9-17 * * 1-5" = Every 5 minutes from 9am through 5pm, Monday through Friday
https://cron.help/#*/5_9-17_*_*_1-5
"*/5 8-15 * * 1-5" = Every 5 minutes from 8am through 3pm, Monday through Friday
https://cron.help/#*/5_8-15_*_*_1-5
- why 8am and not 9am? because the server has UTC time
- why 3pm and not 5pm? because UTC + will run until 15h55 included

Usage: python manage.py send_validated_tenders
"""
Expand Down