Is it possible in code to search for a job/list out all jobs?
I have built a plugin that scans an external API and I want to scan on an interval as well as allow the user to fire off a manual scan. I have found on quicker intervals that the queue can get overwhelmed with jobs quicker than it is able to complete them eventually taking the site down as a whole.
Is there any way to query the queue list for current jobs? either search by name or just get the full list so I can loop through them?
also is it possible to release specific jobs or all jobs from code?
Thanks for any help given