Hello I want to use ReccuringJob.AddOrUpdate to schedule some tasks in less then one minute. For example in every 10 seconds. How can I do it with Hangfire?
Hi,
We also wanted to do something similar but I’m afraid that CronTab doesn’t allow to specify anything under the minute. A dirty workaround is to schedule every minute and then repeat 6 times sleeping every 10 seconds…
The limitation is that Hangfire uses NCronTab 1.0 that doesn’t allows expressions with second part, but once (if) it starts using NCronTab 2.0 under minute scheduling it will be available.