Scheduling A Task; Configuration Guidelines; Configuration Procedure - HP 10500 Series Configuration Manual

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Scheduling a task

You can schedule the device to automatically execute a command or a set of commands without
administrative interference.
You can configure a non-periodic schedule or a periodic schedule. A non-periodic schedule is not saved
to the configuration file and is lost when the device reboots. A periodic schedule is saved to the startup
configuration file and is automatically executed periodically.

Configuration guidelines

When you schedule a task, follow these guidelines:
The default system time is always restored at reboot. To make sure a task schedule can be executed
as expected, reconfigure the system time or configure NTP after you reboot the device. For more
information about NTP, see Network Management and Monitoring Configuration Guide.
Make sure all commands in a schedule are compliant to the command syntax. The system does not
check the syntax when you assign a command to a job.
A schedule cannot contain any of these commands: telnet, ftp, ssh2, and monitor process.
A schedule does not support user interaction. If a command requires a yes or no answer, the system
always assumes that a Y or Yes is entered. If a command requires a character string input, the
system assumes that either the default character string (if any) or a null string is entered.
A schedule is executed in the background, and no output (except for logs, traps, and debug
information) is displayed for the schedule.

Configuration procedure

To configure a non-periodic schedule for the device:
Step
1.
Enter system view.
2.
Create a job.
3.
Assign a command to
the job.
4.
Exit to system view.
5.
Create a schedule.
6.
Assign a job to a
schedule.
Command
system-view
scheduler job job-name
command id command
quit
scheduler schedule schedule-name
job job-name
222
Remarks
N/A
By default, no job exists.
By default, no command is assigned
to a job.
You can assign multiple commands
to a job. A command with a smaller
ID will be executed first.
To assign a command (command A)
to a job, you must first assign the job
the command or commands for
entering the view of command A.
N/A
By default, no schedule exists.
By default, no job is assigned to a
schedule.
You can assign multiple jobs to a

Advertisement

Table of Contents
loading

Table of Contents