../library/roles/ghn-gcore/ghn-gcore-maintenance/defaults/main.yml cronjob: set weekday to *

This commit is contained in:
Roberto Cirillo 2016-12-22 17:21:18 +01:00
parent dda9366e83
commit 340dc1f9d2
1 changed files with 1 additions and 1 deletions

View File

@ -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" }