I have a cron which triggers thousands of crons on a single execution. So till the jobs are executing, I have some other files, from where the same job might be called with same parameter. I want to prevent that.
So basically, Before triggering a queue, system should check whether the same job with same parameter exists or not on queue. How can i achieve that?
Thank you.
As from the Laravel docs:
And more specifically:
So you just have to define how to determine your specific job's uniqueness and youre good to go.