Hi, I like this software very much! But one thing I am missing is how to add a recurring job that executes every few minutes (e.g. every 15 minutes). Is there a way to achieve this?
RecurringJob.AddOrUpdate(() => /* your method */, "*/15 * * * *");. The last argument is a normal Cron expression, so usual Cron rules apply: http://en.wikipedia.org/wiki/Cron.
Thanks a lot. I’ve tried it and it is working now!
Whats the difference between background task and recurring task? is it just the name? As in does a recurring job run in background itself? Because background task doesnt have a cron option. Please let me know your thoughts. Thanks
Recurring tasks execute more than once - that’s why they have a Cron field to control the execution pattern. And yes, they run in the background. Regular background jobs, on the other hand, execute once.