From 1248a8e2c8ba6824c5f32b5834f33603be8b949b Mon Sep 17 00:00:00 2001 From: saganorenkarlson <sagno626@student.liu.se> Date: Thu, 13 Jun 2024 20:42:13 +0200 Subject: [PATCH] Uncommenting cron config --- manifests/init.pp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index ed882d8..867a8b1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -179,16 +179,16 @@ class aim_control ( subscribe => [Vcsrepo['/var/www/skadereg'], File['/var/www/skadereg'],], } - # cron { 'artisan schedule:run': - # minute => '*', - # hour => '*', - # monthday => '*', - # month => '*', - # weekday => '*', - # user => 'apache', - # environment => [ 'PATH=/opt/remi/php74/root/bin:/usr/bin:/bin', 'SHELL=/bin/bash' ], - # command => 'php /var/www/skadereg/artisan schedule:run &> /dev/null', - # } + cron { 'artisan schedule:run': + minute => '*', + hour => '*', + monthday => '*', + month => '*', + weekday => '*', + user => 'apache', + environment => ['PATH=/opt/remi/php74/root/bin:/usr/bin:/bin', 'SHELL=/bin/bash'], + command => 'php /var/www/skadereg/artisan schedule:run &> /dev/null', + } $db_name = 'homestead' -- GitLab