CronNET
CronNET copied to clipboard
Add timezone offset to CronDaemon
Thanks for posting this repo, it is helpful to me when creating simple scheduled background jobs.
I made a small change to allow a timezone offset such that a job can be scheduled with a specific timezone in mind. I thought this might be helpful to others.
Cheers!
Thanks csim. I was wondering if this should be the responsibility of the task to offset the time?
I guess it depends on whether ALL the tasks should use the same timezone. I suppose you could add a property to the task if you wanted tasks to be scheduled in multiple timezones. I am only interested in running tasks in one timezone.
Hangfire specifies the timezone at the task level.