1/7/2024 0 Comments Cron job schedule creatorE.g.: The value of "5#2" in the day-of-week field means "the second Thursday of the month" (day 5 = Thursday and "#2" = the 2nd one in the month). Specifies "the nth" XXX day of the month. Please note that the 'W' character can only be specified when the day-of-month is a single day, not a range or list of days. However if you define "1W" as the value for day-of-month, and the 1st is a Saturday, the trigger will fire on Monday the 3rd, as it will not 'jump' over the boundary of a month's days. If the 12th is a Wednesday, then it will fire on Wednesday the 12th. If the 12th is a Sunday, the trigger will fire on Monday the 13th. So if the 12th is a Saturday, the trigger will fire on Friday the 11th. E.g.: If you define "12W" as the value for the day-of-month field, the meaning is: "the nearest weekday to the 12th of the month". Specifies the weekday (Monday-Friday) nearest to the given day. When using the 'L' option, it is important not to specify ranges of values, as the results generated can be confusing or unexpected in nature. You can also define an offset from the last day of the month, such as "L-5" which would mean the fifth-to-last day of the calendar month. But if used in the day-of-week field after another value, it means "the last xxx day of the month" - for example "3L" means "the last Tuesday of the month". If used in the day-of-week field alone, it simply means "7" or "SAT". E.g.: The value "L" in the day-of-month field means "the last day of the month" - day 31 for January, day 28 for February on non-leap years. Specifies different meaning in each of the two fields in which it is included. '2/5' in the day-of-month field means "fire every 5 days starting on the second day of the month". You can also include '/' after the '' character - in this case '' which is equivalent to having '0' before the '/'. Similarly if you gave "15/30" then the selection are the minutes 15, 45, 75, and 105. E.g.: If "0/30" is given in the minutes field, it indicates you selected the minutes 0, 30, 60, and 90. E.g.: "9,10,11" in the hour field indicates the 9th, 10th and 11th hours in a day. E.g.: "15-17" in the day field indicates the days 15, 16, and 17. Used to select something specific in one field while generating something random in the second field.E.g.: If you want the trigger to fire on the 15th day of a month but don't care about what hour of the day it is, then you can specify the two fields as "15" in the day field and "?" in the hour field. E.g.: "*" in the hour field indicates "every hour" Used for selecting all values within a field. The legal characters and the names of months and days of the week are not case sensitive. The 'L' and 'W' characters can also be combined in the day-of-month field to yield 'LW', which translates to *"last weekday of the month"*.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |