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