Q:

One-off job with hangfire

How can I run a one-off job with hangfire?
It doesn't look that CRON syntax supports "run at startup and never again" type of thing.
I don't want to come up with a fixed CRON date (like 2019-02-28T15:12), because that wouldn't work across several environments.
Any ideas how to do it?

A:

What we ended up with is a job that never runs, but can be triggered via Hangfire UI.
So something like this:
RecurringJob.AddOrUpdate<SomeType>("name", service => service.Run(), NEVER);

