I am running Laravel (5.8) on Shared hosting with CrobJob. when I am going to test just One Simple Job (for sending and Email) Queue Keeps Duplicating it. job table id from 0 to 60K now!!! for one job that keeps cloning! I tried everything like --daemon -tries and others...
One Job turned to 60K Jobs!!!
here is my cron task:
/usr/bin/php -ea_php 72 /path/to/rtisan queue:work > /dev/null 2>&1 > /dev/null 2>&1
here is my Kernel.php
$schedule->command('queue:restart')->hourly();
$schedule->command('queue:work --sleep=3 --timeout=900 --queue=high,default,low')->runInBackground()->withoutOVerlapping()->everyMinute();
cPanel info:
Number of Processes
60 / 100 (60%)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire