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


EXEC Command

The EXEC command schedules an EXEC to execute on the CA VM:Schedule service virtual machine. The CA VM:Schedule system administrator must authorize you explicitly to execute an EXEC on the virtual machine. To list EXECs that you are authorized to use, enter the command vmsched config exec.

Exec requestname filename [execparms] [( "Options"]

Options:
["Initial date/time options"]
["Repeat options"]
["Initiation limits options"]
["Shift and range options"]
["Log file options"]

Initial date/time options:
[AT hh:mm:ss]
[FROMTime hh:mm:ss]
[FRom {"From options"}]
[ON day[-day]]...
[Within {hh:mm:ss | *}]

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

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

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

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

ParmA:
{nnn | F | L}

ParmB:
{dayname | WE | W | B}

ParmC:
{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]

Definitions

requestname

Specifies the name that you give the request, from one to eight characters long. You cannot already have an EXEC or a request that you scheduled with this name.

filename

Specifies the filename of an EXEC residing on a CA VM:Schedule minidisk to be executed on the CA VM:Schedule service virtual machine. If no parameters are specified on the command line, the server prompts you for them. In a prompted entry, you can use parentheses. The maximum parameter string length is 108 characters, including the filename, punctuation, and blanks.

execparms

Specifies any parameters that the EXEC requires to execute properly. The parameters cannot contain parentheses.