How to remove Expired Jobs from Awaiting Queue?

Greetings!

Recently, due to an error, I enqueued about 77k jobs that shouldn’t be executed. In an atempt to stop the jobs, I stopped the service and deleted all these jobs from the tables (Job, JobParameter, JobQueue, State) with the JobIds starting on the first one. That worked fine, but those 77k jobs are now in a permanent limbo in the Awaiting queue, as expired:

ymf

The other jobs generated after this cleaning are executed correctly, so these 77k are mostly visual garbage, however i cannot find a way to clear these expired jobs.

How can i remove them from this list or clear it?

Thanks in advance!

1 Like

As I remember, these expired jobs are being stored in table Hangfire_Set.
So you can go to this table and delete them.