[Contents] [Prev] [Next] [Index] [Report an Error]

# schedule macro

#### Syntax

schedule macro { interval { frequency freqInMinutes | time-of-day dayTime [day-of-week dayOfWeek | day-of-month dayOfMonth ] } | at atTime [ month day | day month ] } fileName macroName [ macroArg ]*

no schedule macro [ fileName [ macroName ] ]

#### Release Information

Command introduced in JUNOSe Release 9.3.0.

#### Description

Schedules a macro to run once at a specific time, after a periodic interval, or at a periodic time, such as time of day, day of the week or day of the month. In Global Configuration mode, the setting persists on reboot, but in Privileged Exec mode, it does not persist on reboot. Both methods support high availability. The no version unschedules the macro time to run.

#### Options

- interval—Schedule a macro to run at a specified time once, after a periodic interval, or at a periodic time of the day, day of the week, or day of the month
- fileName—Name of the file on which to schedule a time to run
- freqInMinutes—Interval start time start in minutes in which to schedule a macro to run
- dayTime—Interval time of day for a macro to run
- dayOfWeek—Interval day of the week for a macro to run
- dayOfMonth—Interval day of the month for a macro to run
- atTime—Time at which to start a macro to run
- macroName—Name of the interval macro file
- macroArg—Name of the macro

#### Mode

Global Configuration, Privileged Exec

#### Related Topics

- Scheduling Macros in the JUNOSe System Basics Configuration Guide

[Contents] [Prev] [Next] [Index] [Report an Error]