Is it possible to detect manual Hangfire triggers?

I need to somehow detect when a hangfire task is manually triggered in the backoffice, does anyone know how to do this?

Or even if it’s possible?

https://stackoverflow.com/a/55722025 shows how to get it. They store how a job is queued in the database.

2 Likes

Perfect that works a treat

1 Like