Time Range Commands

time-range

Syntax

[no] time-range name [create]

Context

config>system>cron

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures a time range.

The no form of this command removes the name from the configuration.

Parameters

name

Specifies a name for the time range, up to 32 characters.

absolute

Syntax

absolute start start-absolute-time end end-absolute-time

no absolute start absolute-time

Context

config>system>cron>time-range

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures an absolute time interval that does not repeat.

The no form of this command removes the absolute time range from the configuration.

Parameters

start absolute-time

Specifies starting parameters for the absolute time-range.

Values

absolute-timeyear/month/day,hh:mm

year — 2005 to 2099

month — 1 to 12

day — 1 to 31

hh — 0 to 23

mm — 0 to 59

end absolute-time

Specifies end parameters for the absolute time-range.

Values

absolute-timeyear/month/day,hh:mm

year — 2005 to 2099

month — 1 to 12

day — 1 to 31

hh — 0 to 23

mm — 0 to 59

daily

Syntax

daily start start-time-of-day end end-time-of-day

no daily start start-time-of-day

Context

config>system>cron>time-range

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the start and end of a schedule for every day of the week. To configure a daily time-range across midnight, use a combination of two entries. An entry that starts at hour zero takes over from an entry that ends at hour 24.

The no form of this command removes the daily time parameters from the configuration.

Parameters

start-time-of-day

Specifies the starting time for the time range.

Values

start-time-of-day hh:mm

hh — 0 to 23

mm — 0 to 59

end-time-of-day

Specifies the ending time for the time range.

Values

end-time-of-day hh:mm

hh — 0 to 23

mm — 0 to 59

weekdays

Syntax

weekdays start start-time-of-day end end-time-of-day

no weekdays start start-time-of-day

Context

config>system>cron>time-range

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the start and end of a weekday schedule.

The no form of this command removes the weekday parameters from the configuration.

Parameters

start-time-of-day

Specifies the starting time for the time range.

Values

start-time-of-day hh:mm

hh — 0 to 23

mm — 0 to 59

end-time-of-day

Specifies the ending time for the time range.

Values

end-time-of-day hh:mm

hh — 0 to 23

mm — 0 to 59

weekend

Syntax

weekend start start-time-of-day end end-time-of-day

no weekend start start-time-of-day

Context

config>system>cron>time-range

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures a time interval for every weekend day in the time range.

The resolution must be at least one minute apart, for example, start at 11:00 and end at 11:01. An 11:00 start and end time is invalid. This example configures a start at 11:00 and an end at 11:01 on both Saturday and Sunday.

The no form of this command removes the weekend parameters from the configuration.

Parameters

start-time-of-day

Specifies the starting time for the time range.

Values

start-time-of-day hh:mm

hh — 0 to 23

mm — 0 to 59

end-time-of-day

Specifies the ending time for the time range.

Values

end-time-of-day hh:mm

hh — 0 to 23

mm — 0 to 59

weekly

Syntax

weekly start start-time-in-week end end-time-in-week

no weekly start start-time-in-week

Context

config>system>cron>time-range

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures a weekly periodic interval in the time range.

The command configures the start and end of a schedule for the same day every week, for example, every Friday. The start and end dates must be the same. The resolution must be at least one minute apart, for example, start at 11:00 and end at 11:01. A start time and end time of 11:00 is invalid.

The no form of this command removes the weekly parameters from the configuration.

Default

no time-range

Parameters

start-time-in-week

Specifies the start day and time of the week.

Values

start-time-in-weekday,hh:mm

day — sun, mon, tue, wed, thu, fri, sat

sunday, monday, tuesday, wednesday, thursday, friday, saturday

hh — 0 to 23

mm — 0 to 59

end-time-in-week

Specifies the end day and time of the week.

Values

end-time-in-weekday,hh:mm

day — sun, mon, tue, wed, thu, fri, sat

sunday, monday, tuesday, wednesday, thursday, friday, saturday

hh — 0 to 23

mm — 0 to 59