Пример #1
0
 /// <summary>
 /// Returns cron expression that fires every month at the first minute of the
 /// specified day of month and hour in UTC.
 /// </summary>
 /// <param name="day">The day of month in which the schedule will be activated (1-31).</param>
 /// <param name="hour">The hour in which the schedule will be activated (0-23).</param>
 public static string Monthly(int day, int hour)
 {
     return(HangfireCron.Monthly(day, hour, 0));
 }
Пример #2
0
 /// <summary>
 /// Returns cron expression that fires every month at 00:00 UTC of the first
 /// day of month.
 /// </summary>
 public static string Monthly()
 {
     return(HangfireCron.Monthly(1));
 }