From 340dc1f9d2e0b8e4fce5a41f166e790c152616d0 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Thu, 22 Dec 2016 17:21:18 +0100 Subject: [PATCH] ../library/roles/ghn-gcore/ghn-gcore-maintenance/defaults/main.yml cronjob: set weekday to * --- ghn-gcore/ghn-gcore-maintenance/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghn-gcore/ghn-gcore-maintenance/defaults/main.yml b/ghn-gcore/ghn-gcore-maintenance/defaults/main.yml index 123dda3..bbef5b5 100644 --- a/ghn-gcore/ghn-gcore-maintenance/defaults/main.yml +++ b/ghn-gcore/ghn-gcore-maintenance/defaults/main.yml @@ -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" }