Skip to content

Commit

Permalink
feat: ajout cron dans le playbook setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rsauvair committed Jul 27, 2022
1 parent 50a6f1f commit d7216c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .infra/cegedim/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,11 @@
ansible.builtin.file:
path: /opt/pdigi
state: directory

- name: ajout cron server batch
cron:
name: "server jobs"
minute: "15"
hour: "*"
weekday: "*"
job: "docker exec cerfa_server yarn --silent jobs >> /var/log/server-jobs.log"

0 comments on commit d7216c4

Please sign in to comment.