Install Laravel schedule

setup cron job to install
laravel schedule.

Change-Id: Icfc510080b62a8e5fe51a27ab1628d4a8840d05e
This commit is contained in:
Sebastian Marcet 2017-08-12 01:29:09 -03:00
parent 58e9dfd7e0
commit dbcaf34f22
1 changed files with 7 additions and 0 deletions

View File

@ -474,4 +474,11 @@ class openstackid (
create_resources(sysctl::value,$my_sysctl_settings,$my_sysctl_defaults)
cron { 'InstallLaravelSchedule':
ensure => 'present',
command => 'php /srv/openstackid/w/artisan schedule:run >> /dev/null 2>&1',
user => 'www-data',
minute => '*',
}
}