Specifications
3-16
Cisco IGX 8400 Series Provisioning Guide, Release 9.3.3 and Later Releases
OL-1166-04
Chapter 3 Cisco IGX 8400 Series Nodes
IGX Network Management
Creating (Adding) a Job
Consider the following information before creating a job:
• The addjob command creates a new job. When you use addjob, the system prompts for optional
and required arguments. Unlike other commands, the addjob command begins with optional
parameters. A job can run when you enter the runjob command or at a time and date you specify
with addjob. Note that the system assigns the job number, but you can assign a job description to
indicate the function of the job. The following list describes the addjob parameters:
–
Description (optional): this can contain up to 16 characters and include spaces.
–
Execution time (optional): if you specify an execution time, the first (unprompted) parameter
to enter is four digits indicating the year. The system subsequently prompts for the month, day,
hour, minute, and (optional) second of the start time for the job.
–
Interval (optional): the Interval prompt appears only if you have specified an execution time.
The first interval prompts you for units: days, hours, and minutes. The system then prompts you
for the number of units.
–
Command (required): without a command specified, the addjob command terminates, so this
is how you exit addjob. After each command and its parameters, the system prompts you for
an action to take if a failure occurs (see the addjob description for details).
• Because commands in a job do not run immediately, the system does not check the validity of the
commands and parameters to the same degree as it does for standard command entry. For example,
if you enter dncd for a card slot that is out of range, the system flags the error, but it does not flag
a card that is missing from a valid card slot.
Running a Job
Consider the following information before running a job:
• Use the runjob command to run a job manually. Specify the job number to run.
• The runjob command runs a job regardless of the assigned run time. The runjob command does
not change the specified run time.
• The runjob command itself can be in a job. Therefore, running one job can start another job, except
that a job cannot start itself. For example, if Job 1 contains the command runjob 1, the command
does not run. Similarly, if Job 1 contains the command runjob 2 and Job 2 contains the command
runjob 1, Job 1 starts Job 2, but Job 2 does not then start Job 1.
• After the runjob command runs, the screen displays the results for each command in the job.
Stopping a Job
Consider the following information before stopping a job:
• Use the stopjob command to stop a running job. The template for the current job appears on the
screen along with the prompt, “Stop this and all currently executing jobs (y/n)?”
• The stopjob command works only on a job that is running. Because stopping a job can leave a task
partially completed, use stopjob with caution.