0

My cron job on cpanel is schedule:run and run every minute.

in the App\Console\Kernel.php -> schedule() method I have some command that works fine. one of these command is :

protected function schedule(Schedule $schedule)
{
    $schedule->command('queue:work --stop-when-empty')->withoutOverlapping()->everyMinute();
}

my problem is about jobs table, some times I have one or more record that stay in queue and don't run and never fade away! enter image description here Some of these are Notifications and someone else is a job that fired by dispatch();

the next and previous records run and delete successfully, but not that record,

what is the problem? why this happens?

thanks

aref razavi
  • 413
  • 2
  • 12

0 Answers0