public static ITrigger FireEveryDayAtMidnight()
{
ITrigger trigger = TriggerBuilder.Create()
.WithIdentity("trigger3", "group1")
.WithCronSchedule("0 02 01 * * ?")
.ForJob("myJob", "group1")
.Build();
return trigger;
}
I have a problem thoroughly understanding Cron Trigger Expressions. I intend to schedule the above trigger to fire every day at 2 minutes past midnight. I just want to hear from people much more experienced with cron expressions if my expression above "0 02 01 * * ?", will indeed run as intended i.e run fire every day at 2 minutes past midnight