Advanced Schedule

This property defines one or more advanced triggers for a scheduled job. It has multi-line format.

Field Description

Field Name

Day of Month. Specifies execution pattern for every day of month: always, nearest weekday or never.

dayOfMonth

Month. Defines for which months execution is enabled.

month

Day of Week. Specifies execution pattern for every day of week: always, first, second, third, last or never.

dayOfWeek

Year. Specifies a range of years for those execution is allowed. It is a combination of comma separated years or year ranges, i.e. "2003, 2004, 2006-2008". Empty value causes endless execution every year.

year

Time. Execution time. Job is executed at that time every day for which execution is allowed by other trigger options. The only way to specify more then one execution time is to create several triggers.

time

Start Date/Time. Time before that execution is not allowed according to this trigger. Default value is <Not set>, so execution starts immediately when combination of other options will allow it.

startTime

End Date/Time. Time after that execution is not allowed according to this trigger. Trigger is deleted automatically when this time comes.

endTime

Advanced schedule may be accessed through the cronTriggersView variable.

Was this page helpful?