]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
(stage)-www-publicispixelpark-de typo3 scheduler as cron
authorsascha.strassheim <sascha.strassheim@pixelpark.com>
Thu, 12 Apr 2018 11:11:25 +0000 (13:11 +0200)
committersascha.strassheim <sascha.strassheim@pixelpark.com>
Thu, 12 Apr 2018 11:11:25 +0000 (13:11 +0200)
customer/pixelpark/stage-www-publicispixelpark-de.pixelpark.com.yaml
customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml

index 3822599347996d8c28b481349e2bc818e2639e42..ea548dab3c9a13d6a8e2f859cc1d41d635c6368b 100644 (file)
@@ -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'
index 6cbaa2d00080742d00883a0e5fe3d5ac4eeb9acb..4a00dc19eee25fd8aee566466872846746602198 100644 (file)
@@ -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: