-
Notifications
You must be signed in to change notification settings - Fork 3
Scheduler Format
amazing-andrew edited this page Oct 31, 2012
·
7 revisions
Currently the schedule support 4 major formats.
Where:
N is a numeric amount
(sec|min|hour) you can use sec, second, seconds or just s.
weekdayspec specifies a list of the day of week names in full or abberviated.
(You may use weekday or weekdays to specifiy Monday-Friday. You may use weekend or
weekends to specify sat,sun.)
time is a single time or a time range. time ranges are specified using the
"from" (time) "to" (time) clause. (You may use 24 hour or 12 hour formats.
You may specify midnight for 00:00 or noon to specify 12:00 pm)
Examples:
every second
every 30 minutes
every 3 hours on Monday
every 30 seconds on Monday through Friday at 9:00 am
every 2 hours on Friday from 9:30 am to 5:30 pm
Where:
ordinal is an ordinal value of 1st, 2nd, 3rd, 4th, or 5th value. (You can also
speicfy the full word such as first instead of 1st.)
day of week is a list or range of days of weeks.You can use the word day to
mean all days of the week. (You may use weekday or weekdays to specifiy
Monday-Friday. You may use weekend or weekends to specify sat,sun.)
month is a list or range of month names. (You can use the word month to specify
all months).
time is a single value specified as a time, can be in 12 hour or 24 hour
format (You may use 24 hour or 12 hour formats. You may specify midnight
for 00:00 or noon to specify 12:00 pm)
Examples:
every Friday at 6:30 am
every mon,wed,fri at 9pm
2nd,4th Friday of month at 17:00
first and third Monday of Jan,Feb,Mar
last day of month at 9:30 am
Where:
date is a date the is specified as a month then day, with the year as
optional. (You can separate the date with or without commas. You may append
a st,nd,rd, or th at the end of the day, such as December 25th or
December 3rd.)
time is a single value specified as a time, can be in 12 hour or 24 hour
format (You may use 24 hour or 12 hour formats. You may specify midnight
for 00:00 or noon to specify 12:00 pm)
Examples:
on April 1st, at noon
Jan 1st at midnight
May 5, 2020 at 4pm
every Dec 3rd
March 2nd at 3:30 pm
Where:
N is a numeric amount
(days|weeks|months|years) you can use "day" or "days", "year" or "years"...
date this is the starting date for the expression. This is a date the is
specified as a month then day, with the year as optional (You can separate
the date with or without commas. You may append a st,nd,rd, or th at the
end of the day, such as December 25th or December 3rd.)
time is a single value specified as a time, can be in 12 hour
or 24 hour format (You may use 24 hour or 12 hour formats. You may
specify midnight for 00:00 or noon to specify 12:00 pm)
Examples:
every 2 weeks at 08:00
every 3 days from Jan 3rd, 2012
every 2 yr from Sep 3 17:00
every 6 weeks
every 2 months from February