Have you confirmed that the queue worker is running on the production server and that Supervisor is properly installed and configured there as well?
Dispatching JOBs not working on production
My app work ok in local and homologation environment. Jobs are dispatched ok to a database queue and are processed with supervisor.
In production environment the dispatch doesn't work and do not display any errors. By doesn't work i mean no records are created on jobs table or failed_jobs table. I already tried to dispatch by artisan tinker trying to identify the issue, but nothing happens.
On tinker when i dispatch i see this:
MyJob::dispatch('test'); Illuminate\Foundation\Bus\PendingDispatch {#3817}
My .env file contains
QUEUE_CONNECTION=database
My queue.php contains:
'database' => [ 'connection' => 'mysql', 'driver' => 'database', 'table' => 'jobs', 'queue' => 'default', 'retry_after' => 400, 'after_commit' => false, ],
Please or to participate in this conversation.