/// <summary> /// Returns cron expression that fires every year in the first day at 00:00 UTC /// of the specified month. /// </summary> /// <param name="month">The month in which the schedule will be activated (1-12).</param> public static string Yearly(int month) { return(HangfireCron.Yearly(month, 1)); }
/// <summary> /// Returns cron expression that fires every year at the first minute of the /// specified month, day and hour in UTC. /// </summary> /// <param name="month">The month in which the schedule will be activated (1-12).</param> /// <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 Yearly(int month, int day, int hour) { return(HangfireCron.Yearly(month, day, hour, 0)); }
/// <summary> /// Returns cron expression that fires every year on Jan, 1st at 00:00 UTC. /// </summary> public static string Yearly() { return(HangfireCron.Yearly(1)); }