Skip to content

Commit

Permalink
Met à jour la fréquence de lancement du script de statistiques (mensu…
Browse files Browse the repository at this point in the history
…elle)
  • Loading branch information
Shamzic committed Sep 1, 2023
1 parent 11484ff commit af1a3c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/bootstrap/tasks/setup_cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
name: anonymize simulation and followup data collections for {{ item.name }}
minute: "0"
hour: "5"
day: "1"
job: (cd {{ repository_folder }} && {{ envvar_prefix }} npm run tools:cleaner)
- name: Create cron job to execute generate_mongo_stats.sh daily
- name: Create cron job to execute generate_mongo_stats.sh monthly
become_user: "{{ server_user_name }}"
ansible.builtin.cron:
name: Execute generate_mongo_stats.sh daily {{ item.name }}
name: Execute generate_mongo_stats.sh monthly {{ item.name }}
minute: "0"
hour: "0"
day: "1"
job: (cd {{ repository_folder }} && {{ envvar_prefix }} npm run tools:generate-mongo-stats)

0 comments on commit af1a3c8

Please sign in to comment.