0

I need to set up an non-recurring Hangfire cron job that will run on a specific date and time for one time, I will have a pre-determined job id that would manage the job (hence preferring a cron operation - potentially changing the job schedule)

Patrick Artner
  • 50,409
  • 9
  • 43
  • 69
Jonny Boy
  • 192
  • 1
  • 1
  • 10
  • Does scheduling a job not work? `BackgroundJob.Schedule(methodCall..)° – Jawad Nov 18 '20 at 04:32
  • Does this answer your question? [How do I schedule a job to be run at a specific date in Hangfire](https://stackoverflow.com/questions/35698361/how-do-i-schedule-a-job-to-be-run-at-a-specific-date-in-hangfire) – Jawad Nov 18 '20 at 04:33
  • Scheduling a job works, but in Hangfire either you can run a cron job (recurring) or a instant job that will be scheduled immediately, I was looking for a non-recurring cron job which they don't support as of December 2020 (I have my answer). – Jonny Boy Dec 07 '20 at 06:36

1 Answers1

1

Answer: Scheduling a job works, but in Hangfire either you can run a cron job (recurring) or a instant job that will be scheduled immediately for execution, I was looking for a non-recurring cron job which they don't support as of December 2020 (I have my answer).

Jonny Boy
  • 192
  • 1
  • 1
  • 10