mardi 25 décembre 2018

Laravel5 Run Artisan::call on background laravel schedule

I add this in my schedule

protected function schedule(Schedule $schedule)
{
    Artisan::call('queue:work');
}

I want to run this command on background like this:
php artisan queue:work > /dev/null 2>&1 &.

Notes:

1- I am in windows.
2- I do not have permission to use system functions like exce ,system ,...



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire