IsNotNull
Hangfire Execution Time
I have a recurring job I've scheduled in Hangfire. If the app is not running and misses executions, then it might run multiple times when the app starts again.
How do I get access to the time that the job was supposed to have run for, but was missed?
It doesn't look like Hangfire provides any context for the job execution in the called method. Is this the kind of thing that has to be applied with a filter?
5 replies
More Elegant Way to Make a Generic Lookup Type
I want to store things for lookup by a generic type.
Case: I have a storage class that I want to expose a Get<T>(string key) method, and internally is uses specialized storage lookup instances for each type.
Is the only way to do that today to use a Dictionary<System.Type, AbstractThing> and then cast my AbstractThing to MoreSpecific<T>?
15 replies