Previous Topic: RELEASE CommandNext Topic: Initial Date/Time Options


SCHEDULE Command

The SCHEDULE command schedules a program, EXEC, CP, or CMS command that initiates on an autologged virtual machine.

Schedule requestname [command] [( "Options"]
Options:
["Initial date/time options"] [Within {hh:mm:ss | *}]
["Repeat options"]
["Resource limit options"]
["Initiation limits options"]
["Shift and range options"]
["Log file options"]
["Monitoring options"]
["Miscellaneous options"]

Initial date/time options:
  Class class
| Release userid [Within {hh:mm:ss | *}]
| “Event Time Options” [Within {hh:mm:ss | *}]

Event Time Options:
[AT hh:mm:ss] 
[FROMTime hh:mm:ss]
[On day] 
[FRom “From options”]

From options: 
  mm/dd/yy 
| dayname
| [“ParmA” [“ParmB” [“ParmC”]]]

ParmA:
{nnn | F | L}

ParmB:
{dayname | WE | W | B}
                       
ParmC:
{weeknumber | M | monthname  | Q | nQ}

Repeat options:
[AGain [BI] interval]
[ON day[-day]]...
[Every hh:mm:ss]
[DURing {nnn | M | monthname | Q | nQ}]

Resource limit options:
[CPu seconds]
[Sio count]
[Uio count]
[STorage size]

Initiation limits options:
[For number]
[Totime hh:mm:ss]
[UNtil "Until options"]

Until options:
  mm/dd/yy
| dayname
| [“ParmD” [“ParmE” [“ParmF”]]]

ParmD:
{nnn | F | L}

ParmE:
{dayname | WE | W | B}

ParmF:
{weeknumber | M | monthname | Q | nQ}

Shift and range options:
[Inside {shift | range}]
[OUtside {shift | range}]

Log file options:
[EXCept [SPool userid]]
[Log [SPool userid]]
[Nolog]

Monitoring options:
[Monitor {Yes | No}]
[LOGOff {Yes | No}]
[CONSole {Yes | No}]
[CONSTo userid]
[DUMP {CP | VM | N}]
[DUMPTo userid]

Miscellaneous options:
[Password password]
[SYSname {systemname | *}]
[USer userid]

Definitions

requestname

Specifies the name of the request that you want to schedule. You must not already have a scheduled request with this name. However, you can reuse a request name after the original request is no longer scheduled to run. For example, the request has been canceled, skipped, or has already run for the last time.

command

Specifies the EXEC, program, CP command, or CMS command that executes when the request runs. If specified on the CA VM:Schedule command line, the command parameters cannot contain parentheses. If you do not specify a command, the server prompts for it. (In a prompted entry, parentheses can be specified.) The maximum command parameter length is 108 characters, including filename, blanks, and punctuation.

The command line is passed to the console stack of the user ID when that user ID is autologged.

The PROFILE EXEC of any virtual machine that the server autologs must not contain any commands that alter or destroy the line that the server places in the console input buffer (sometimes referred to as the console stack). If this issue occurs, or the first read to the console is issued prematurely, the scheduled request might not execute as expected, even though the virtual machine is autologged successfully. For a more detailed discussion of the console stack, refer to the CMS user’s guide appropriate for your site.

The PROFILE EXEC of any virtual machine that the server autologs should not prompt for parameters when the virtual machine is running disconnected.