我试图找出解决的办法得到一个WebRole每天早上早上5点运行任务。我已经看过Quartz.Net和计算器,但所有这些例子预定任务每10分钟运行。有没有表现出任何的例子我该怎么安排呢?
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?
推荐答案Quartz.Net应该是很好的you.Try使用的 CronTrigger (或 CronTriggerImpl在 2.x版)。
Quartz.Net should be good for you.Try to use CronTrigger (or CronTriggerImpl in version 2.x).
的cron-EX pression的例子 - 0 0 5 * *? - 每天早上5点运行。
Example of cron-expression - "0 0 5 * * ?" - run every day at 5 AM.
触发克龙子前pression位置意思是:
Cron trigger sub-expression position meaning:
更多推荐
Azure的WebRole计划任务,每天早上
发布评论