Skip to content

Instantly share code, notes, and snippets.

@jbogard
Created August 13, 2012 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbogard/3343531 to your computer and use it in GitHub Desktop.
Save jbogard/3343531 to your computer and use it in GitHub Desktop.
public class DoSomethingSchedule : ScheduleSetup<DoSomethingJob>
{
public DoSomethingSchedule(IScheduler scheduler)
: base(scheduler)
{
}
protected override TriggerBuilder CreateTrigger()
{
return TriggerBuilder.Create()
.WithSchedule(CronScheduleBuilder.MonthlyOnDayAndHourAndMinute(1, 5, 0));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment