I have a job that kicks off, does some work, and then schedules another instance. The interval isn’t consistent, the job logic knows how long to defer when scheduling the next job.
I want this job to be enqueued in hangfire AT MOST once. In other words, if a job with this method signature is already enqueued (running, scheduled, pending, etc), I don’t want to enqueue another instance, if however, this job hasn’t already been enqueued (like the first time this code runs on a server), I’d like the job enqueued when my service starts up.
I haven’t found a “AddOrUpdate” interface for anything other than chron-based recurring jobs.