vendredi 26 janvier 2018

Calling an artisan command from a queue job is executed endlessly

I have what seemed simple: a queued job that calls a custom artisan command using Artisan::call().

What I test the command myself in CLI, it works perfectly fine and do it's job entirely. However, when it's called from the job, it starts, do part of it's job and seemingly just... Hangs and stay in limbo, waiting for something.

Is there anyway to call the command from a job and tell the queued job not to wait for it?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire