Answers for "laravel queue work schedule cpanel"

PHP
1

laravel queue work schedule cpanel

// step 1
/usr/local/bin/php /home/USERNAME/public_html/PROJECT_FOLDER/artisan schedule:run >> /dev/null 2>&1
// step 2   in kernel.php
$schedule->command('queue:work', [
'--max-time' => 300
])->withoutOverlapping();
// step 3
test it. ;)
Posted by: Guest on September-22-2021

Browse Popular Code Answers by Language