From 9c9173fbf4812290c2f2eeef00da97ff2ec63a5b Mon Sep 17 00:00:00 2001 From: sambufe Date: Thu, 22 Jun 2017 11:12:58 +0200 Subject: [PATCH] fixed fbb crons 2 --- customer/fbb-www/test.yaml | 2 +- customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/customer/fbb-www/test.yaml b/customer/fbb-www/test.yaml index c789b692..672d7e52 100644 --- a/customer/fbb-www/test.yaml +++ b/customer/fbb-www/test.yaml @@ -120,7 +120,7 @@ sudo::configs: #infra::profile::cron::cronjobs: # flugplan-import: -# command: '/opt/app/web_alt/flugplan/SH_Sources/poll.sh >> /var/log/unitb/flugplan-import.log' +# command: '/bin/bash /opt/app/web_alt/flugplan/SH_Sources/poll.sh >> /var/log/unitb/flugplan-import.log 2>> /var/log/unitb/flugplan-import.log' # minute: '*' # hour: '*/2' # date: '*' diff --git a/customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml b/customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml index 2b53b8e6..949c38c5 100644 --- a/customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml +++ b/customer/fbb-www/tst-www01-fbb.pixelpark.net.yaml @@ -3,7 +3,7 @@ infra::role: base infra::profile::cron::cronjobs: flugplan-import: - command: '/opt/app/web_alt/flugplan/SH_Sources/poll.sh >> /var/log/unitb/flugplan-import.log 2>> /var/log/unitb/flugplan-import.log' + command: '/bin/bash /opt/app/web_alt/flugplan/SH_Sources/poll.sh >> /var/log/unitb/flugplan-import.log 2>> /var/log/unitb/flugplan-import.log' minute: '*' hour: '*/2' date: '*' -- 2.39.5