Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to setup cron job for laravel queues on shared hosting

$schedule->command('queue:restart')
    ->everyFiveMinutes();

$schedule->command('queue:work --daemon')
    ->everyMinute()
    ->withoutOverlapping();
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #setup #cron #job #laravel #queues #shared #hosting
ADD COMMENT
Topic
Name
6+1 =