System Management
7210 SAS D, E, K OS Basic System Configuration Guide Page 347
Syntax count number
Context config>cron>sched
Description This command configures the total number of times a CRON “interval” schedule is run. For example,
if the interval is set to 600 and the count is set to 4, the schedule runs 4 times at 600 second intervals.
Parameters number — The number of times the schedule is run.
Values 1 — 65535
Default 65535
day-of-month
Syntax [no] day-of-month {day-number [..day-number] all}
Context config>cron>sched
Description This command specifies which days of the month that the schedule will occur. Multiple days of the
month can be specified. When multiple days are configured, each of them will cause the schedule to
trigger. If a day-of-month is configured without configuring month, weekday, hour and minute, the
event will not execute.
Using the weekday command as well as the day-of-month command will cause the script to run
twice. For example, consider that “today” is Monday January 1. If “Tuesday January 5” is configured,
the script will run on Tuesday (tomorrow) as well as January 5 (Friday).
The no form of this command removes the specified day-of-month from the list.
Parameters day-number — The positive integers specify the day of the month counting from the first of the
month. The negative integers specify the day of the month counting from the last day of the
month. For example, configuring day-of-month -5, 5 in a month that has 31 days will specify the
schedule to occur on the 27th and 5th of that month.
Integer values must map to a valid day for the month in question. For example, February 30 is not
a valid date.
Values 1 — 31, -31 — -1 (maximum 62 day-numbers)
all — Specifies all days of the month.
end-time
Syntax [no] end-time [date | day-name] time
Context config>cron>sched
Description This command is used concurrently with type periodic or calendar. Using the type of periodic, end-
time determines at which interval the schedule will end. Using the type of calendar, end-time
determines on which date the schedule will end.
When no end-time is specified, the schedule runs forever.