As requested for a few users I decided to implement the new manual state that basically is a BackgroundJob which needs to be triggered manually.
Issue discussion -> https://github.com/HangfireIO/Hangfire/issues/382
My repo -> https://github.com/gandarez/Hangfire/tree/manual-job
How to use:
BackgroundJob.Stash(() => Console.WriteLine("STASHING"));
To trigger go to the dashboard under “Jobs” and find for your it into “Manual” menu.
Feel free to contact me