-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: automatisation des management command (#849)
## Description 🎸 utilisation d'un script `sh` générique pour la planification des management commands 🎸 planification de la commande `clearsessions` ## Type de changement 🚧 technique ### Points d'attention 🦺 ajout du paramètre `set -ue` dans le script `sh`
- Loading branch information
1 parent
8a1cd3c
commit 56dba3e
Showing
9 changed files
with
11 additions
and
135 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
[ | ||
"*/10 * * * * $ROOT/clevercloud/rebuild_index.sh", | ||
"0 7 * * * $ROOT/clevercloud/collect_daily_matomo_stats.sh", | ||
"5 7 * * * $ROOT/clevercloud/collect_daily_django_stats.sh", | ||
"10 7 1 * * $ROOT/clevercloud/collect_monthly_matomo_stats.sh", | ||
"15 7 * * 1 $ROOT/clevercloud/collect_weekly_matomo_forum_stats.sh", | ||
"*/15 7-21 * * * $ROOT/clevercloud/send_notifications_regular.sh", | ||
"20 6 * * * $ROOT/clevercloud/send_notifications_daily.sh", | ||
"10 6-22 * * * $ROOT/clevercloud/add_user_to_list_when_register.sh", | ||
"30 13 * * 1-5 $ROOT/clevercloud/send_notifs_on_unanswered_topics_list.sh" | ||
"0 3 * * * $ROOT/clevercloud/run_management_command.sh clearsessions", | ||
"0 7 * * * $ROOT/clevercloud/run_management_command.sh collect_matomo_stats", | ||
"5 7 * * * $ROOT/clevercloud/run_management_command.sh collect_django_stats", | ||
"10 7 1 * * $ROOT/clevercloud/run_management_command.sh collect_matomo_stats --period month", | ||
"15 7 * * 1 $ROOT/clevercloud/run_management_command.sh collect_matomo_forum_stats", | ||
"*/15 7-21 * * * $ROOT/clevercloud/run_management_command.sh send_messages_notifications asap", | ||
"20 6 * * * $ROOT/clevercloud/run_management_command.sh send_messages_notifications day", | ||
"10 6-22 * * * $ROOT/clevercloud/run_management_command.sh add_user_to_list_when_register", | ||
"30 13 * * 1-5 $ROOT/clevercloud/run_management_command.sh send_notifs_on_unanswered_topics" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.