From: Thomas Dalichow Date: Thu, 7 Jun 2018 09:17:29 +0000 (+0200) Subject: fbb-api - add Laravel scheduler cronjob X-Git-Tag: v0.1.0~839 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=dab527331931861bd8cf46244349bf63ab8ab6e8;p=pixelpark%2Fhiera.git fbb-api - add Laravel scheduler cronjob --- diff --git a/customer/fbb-api/production.yaml b/customer/fbb-api/production.yaml index 2f04fd50..e90f6333 100644 --- a/customer/fbb-api/production.yaml +++ b/customer/fbb-api/production.yaml @@ -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 diff --git a/customer/fbb-api/test.yaml b/customer/fbb-api/test.yaml index cdf1921e..017eedaa 100644 --- a/customer/fbb-api/test.yaml +++ b/customer/fbb-api/test.yaml @@ -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