From: sascha.strassheim Date: Thu, 12 Apr 2018 11:11:25 +0000 (+0200) Subject: (stage)-www-publicispixelpark-de typo3 scheduler as cron X-Git-Tag: v0.1.0~1329 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=c47663bf0849c0e95c97136fb0a32da3e1f8fedb;p=pixelpark%2Fhiera.git (stage)-www-publicispixelpark-de typo3 scheduler as cron --- 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: