Click or drag to resize
CronYearly Method (Int32, Int32, Int32, Int32)
Returns cron expression that fires every year at the specified month, day, hour and minute in UTC.

Namespace: Hangfire
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public static string Yearly(
	int month,
	int day,
	int hour,
	int minute
)

Parameters

month
Type: SystemInt32
The month in which the schedule will be activated (1-12).
day
Type: SystemInt32
The day of month in which the schedule will be activated (1-31).
hour
Type: SystemInt32
The hour in which the schedule will be activated (0-23).
minute
Type: SystemInt32
The minute in which the schedule will be activated (0-59).

Return Value

Type: String
See Also