lundi 23 septembre 2019

How can i determine, if my script runs within a queue?

I maintain a open-source script. In it, i would like to check if it was called from a script running in a queued job.

I am searching for something like App::runningInConsole() but for Queues (App::runningInQueue).

I searched google for days, can anybody help?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire