I am trying to figure out a solution to getting a WebRole to run a Task every morning at 5AM. I have looked at Quartz.Net and the examples on stackoverflow but all of them schedule the task to run every 10 minutes. Are there any examples that show how I can schedule it?
Share
Quartz.Net should be good for you.Try to use CronTrigger (or CronTriggerImpl in version 2.x).
Example of cron-expression –
"0 0 5 * * ?"–run every day at 5 AM.Cron trigger sub-expression position meaning:
0for you (run at 0 second)0for you (run at 0 minutes)5for you (run at 5 hour; it uses 24-hour clock)*– run every day*for you (run every month)?– not specified for you (Day-of-Month has been used instead)