forked from ISTI-ansible-roles/ansible-roles
../library/roles/ghn-gcore/ghn-gcore-maintenance/defaults/main.yml cronjob: set weekday to *
This commit is contained in:
parent
dda9366e83
commit
340dc1f9d2
|
@ -2,5 +2,5 @@
|
|||
gcore_maintenance_restart_cron: False
|
||||
|
||||
gcore_maintenance_cron_users:
|
||||
- { user: '{{ d4science_user }}', weekday: "0,2,4", job: "echo '`date`' >/home/{{ d4science_user }}/gcore_service_restart.log ; /home/{{ d4science_user }}/stopContainer.sh >>/home/{{ d4science_user }}/gcore_service_restart.log 2>&1 ; sleep 30 ; /home/{{ d4science_user }}/startContainer.sh >>/home/{{ d4science_user }}/gcore_service_restart.log 2>&1" }
|
||||
- { user: '{{ d4science_user }}', weekday: "*", job: "echo '`date`' >/home/{{ d4science_user }}/gcore_service_restart.log ; /home/{{ d4science_user }}/stopContainer.sh >>/home/{{ d4science_user }}/gcore_service_restart.log 2>&1 ; sleep 30 ; /home/{{ d4science_user }}/startContainer.sh >>/home/{{ d4science_user }}/gcore_service_restart.log 2>&1" }
|
||||
|
||||
|
|
Loading…
Reference in New Issue