0

I'm using Quartz.net to set up a scheduler that send out email everyday at 15.59 o'clock. And this what I used:

0 59 15 * * ?

but it never fired.

To find out whether my database consists data that will fire the scheduler, I used

0 0/1 * * * ?

that will fire every minute, and it works just fine.

Is there anything wrong with my cron for daily job?

Nathaniel Waisbrot
  • 23,261
  • 7
  • 71
  • 99
EngLoon
  • 17
  • 1
  • 8
  • Your cron expression looks correct to me. Does it work for other specified times, ie not a repeating one? – darrenmc Mar 19 '13 at 14:49

1 Answers1

0

Your cron expression should be : 0 59 15 1/1 * ? *. This will run your cron job everyday at 15:59. Visit cronmaker to generate more such cron expressions.

Jeevan Patil
  • 6,029
  • 3
  • 33
  • 50
  • The askers cron expession looks correct. '*' for the day of month field will work just as well as '1/1'. The final year field is optional. – darrenmc Mar 19 '13 at 14:54