I am using Hangfire Recurringjob api to scedule some jobs but I am using same method with different arguements. For ex
for SelectAll(int scenario){};
RecurringJob.AddOrUpdate(SelectAll(1));
RecurringJob.AddOrUpdate(SelectAll(2));
Here the recurring job is getting overridden instead adding both jobs with different scenario .
Please help me how can it solve my use case.
Hi,
Can we able to run the above jobs every 2 mins by setting Cron expression? mine is similar case. Even, I set the cron to run at every 2 mins, they executed only one time.
For example,
can below jobs run at every 2 mins?