]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-api - add Laravel scheduler cronjob
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 7 Jun 2018 09:17:29 +0000 (11:17 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 7 Jun 2018 09:18:01 +0000 (11:18 +0200)
customer/fbb-api/production.yaml
customer/fbb-api/test.yaml

index 2f04fd507d2f2d3898cbd18ed9a8e0fd463b800f..e90f6333d9ade21758ed56688b9835f09ecba3f0 100644 (file)
@@ -59,3 +59,9 @@ infra::profile::apache_php::fpm_pool:
     pm_max_children: 20
 
 apache::mod::ssl::ssl_cipher: 'EECDH+AES:EDH+AES:!SHA1:!aNULL@STRENGTH'
+
+infra::profile::cron::cronjobs:
+  laravel_scheduler:
+    user: apache
+    command: '/bin/php /var/www/api/artisan schedule:run >> /dev/null 2>&1'
+    description: Laravel Scheduler
index cdf1921e5bffe5dfdfcb3be25681fa33e56f62a6..017eedaa2b2eee92f10092c54990e93f0b92ec5c 100644 (file)
@@ -1,3 +1,5 @@
+---
+
 accounts::users:
   markus.baumann:
     apply: true
@@ -80,3 +82,9 @@ redis::timeout: 30
 redis::maxmemory: 1gb
 
 apache::mod::ssl::ssl_cipher: 'EECDH+AES:EDH+AES:!SHA1:!aNULL@STRENGTH'
+
+infra::profile::cron::cronjobs:
+  laravel_scheduler:
+    user: apache
+    command: '/bin/php /var/www/api/artisan schedule:run >> /dev/null 2>&1'
+    description: Laravel Scheduler