I have discovered, that when I call Background Job.Delete Job is not deleting from [Job Queue] table (SQL) (as described here https://discuss.hangfire.io/t/backgroundjob-delete-doesnt-delete-from-jobqueue-table/1526). It stays in [Job Queue] table and is visible in DashboardUI as "Expired Job". Is it safe to delete record from [Job Queue] table when I delete particualr Job by Background Job.Delete? Or maybe there is method in MonitoringApi to do that is "safe way" (I just don't like to mess in Hangfire DB) or maybe there is a way to hide Expired Job in Dashboard UI?
Hi.
I have discovered, that when I call
Background Job.Delete
Job is not deleting from[Job Queue]
table (SQL) (as described here https://discuss.hangfire.io/t/backgroundjob-delete-doesnt-delete-from-jobqueue-table/1526). It stays in[Job Queue]
table and is visible in DashboardUI as "Expired Job". Is it safe to delete record from[Job Queue]
table when I delete particualr Job byBackground Job.Delete
? Or maybe there is method in MonitoringApi to do that is "safe way" (I just don't like to mess in Hangfire DB) or maybe there is a way to hide Expired Job in Dashboard UI?