Cleaning up job queue
We have a huge backlog of jobs listed in the queue from an issue that was causing publishing to fail. I'm unsure of exactly how many there are because each page is limited to 2000, but I have a feeling it's close to 50,000 if not more (this is including the successful jobs as well). What would be the easiest way to clean this up? I can manually do it but that'll take a lot of time because loading and deleting takes a while for 2000 jobs at a time. I tried setting up a scheduled clean up job to start immediately but it just sits there saying Ready and doesn't do anything. Do I have to set up a new worker that specifically does this task? If so, can someone show me an example of setting this kind of worker up?
Thanks
