Previous Topic

Next Topic

Book Contents

Book Index

SCHEDULE command overview

When you wish to invoke SCHEDULE enter the command SCHEDULE at the prompt, followed by the requested function. The general syntax of the command is indicated by the following format.

C:\> schedule command [/section] job_name [/qualifiers]

Some of the SCHEDULE line commands are listed below.

Field

Description

copy/job

copy an entire job definition

create/calendar

create a new calender definition

create/job

create a new job definition

create/directory

create a new directory

delete/job

delete a job definition from the SCHEDULE database

directory/calendar

display information about the calendars defined

directory/job

display information about the jobs defined

directory/directory

display information about known directories

edit/job

allows any one of the three lists (commands, initiates, or prerequisites) to be modified

modify/job

change any of the fields that make up a job definition

monitor/queue

monitor the activity on a job queue

submit/job

submit a job for immediate execution, regardless of any parameter settings

type/job

type out the list sections that can be associated with a job definition

type/history

type out historical data about a job

These commands will be discussed in the following sections, grouped by tasks. The most common qualifiers used for these commands are: /log and /confirm. /log causes each completed operation to issue a note to the user. /confirm requests the user to verify a selected job name is correct. Thus, you can enter the command:

C:\> schedule increment dept_query/log

To advance the start date of the job DEPT_QUERY to the next scheduled start time. The user gets a message from the system indicating that the job was submitted, because of the qualifier /log . If you wanted to copy the job definition of DEPT_QUERY to another job named QUERY_ALL, you would have to indicate the job name to be copied from followed by the name of the job to be copied to:

C:\> schedule dept_query query_all

In This Chapter

Command mode vs. prompt mode

Creating a job

Creating a directory

Creating a calendar

Modifying jobs

Looking at jobs

Looking at calendars

Looking at directories

Looking at history data

Monitoring activity

Other Schedule commands