From c47663bf0849c0e95c97136fb0a32da3e1f8fedb Mon Sep 17 00:00:00 2001 From: "sascha.strassheim" Date: Thu, 12 Apr 2018 13:11:25 +0200 Subject: [PATCH] (stage)-www-publicispixelpark-de typo3 scheduler as cron --- ...-www-publicispixelpark-de.pixelpark.com.yaml | 4 ++-- .../www-publicispixelpark-de.pixelpark.com.yaml | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/customer/pixelpark/stage-www-publicispixelpark-de.pixelpark.com.yaml b/customer/pixelpark/stage-www-publicispixelpark-de.pixelpark.com.yaml index 38225993..ea548dab 100644 --- a/customer/pixelpark/stage-www-publicispixelpark-de.pixelpark.com.yaml +++ b/customer/pixelpark/stage-www-publicispixelpark-de.pixelpark.com.yaml @@ -4,7 +4,7 @@ infra::additional_classes: - infra::profile::typo3 - infra::profile::mysql_server - infra::profile::postfix - - infra::profile::cron + - infra::profile::cron # user accounts::users: @@ -26,7 +26,7 @@ sudo::configs: priority: "06" content: | jenkins ALL=(apache) NOPASSWD: ALL - jenkins ALL=(root) NOPASSWD: ALL +# jenkins ALL=(root) NOPASSWD: ALL # Postfix Config postfix::myorigin: 'pixelpark.com' diff --git a/customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml b/customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml index 6cbaa2d0..4a00dc19 100644 --- a/customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml +++ b/customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml @@ -4,6 +4,7 @@ infra::additional_classes: - infra::profile::typo3 - infra::profile::mysql_server - infra::profile::postfix + - infra::profile::cron # user accounts::users: @@ -30,7 +31,6 @@ sudo::configs: # Postfix Config postfix::myorigin: 'pixelpark.com' - infra::additional_packages: ImageMagick: {} @@ -78,6 +78,21 @@ mysql::server::backup::time: - '2' - '30' +# typo3 scheduler cron +infra::profile::cron::cronjobs: + vbb-import: + command: '/bin/php /var/www/pubpix/web/typo3/sysext/core/bin/typo3 scheduler:run' + minute: '15' + hour: '*' + date: '*' + month: '*' + weekday: '*' + user: apache + environment: + # - 'MAILTO=root' + - 'PATH="/usr/bin:/bin"' + description: 'typo3 scheduler' + # basic auth apache - check infra::profile::apache::htdigest: server: -- 2.39.5