Previous Topic: Shift and Range OptionsNext Topic: Start Times


Log File Options

EXCEPT [SPOOL userid]

Specifies that only exceptional events (such as skipping a request, or request execution errors) should be recorded in the message file sent to the requesting user ID after the server initializes a request. This option is the default.

SPOOL userid specifies the user ID of the virtual machine that is to receive punched messages. The default user ID is the user ID of the virtual machine scheduling the EXEC. The SPOOL option is ignored if you also specify the NOLOG option.

LOG [SPOOL userid]

Specifies that a message file is to be sent to the virtual machine specified by the SPOOL option whenever the EXEC initiates. (If the SPOOL option is not specified, the message file is sent to the virtual machine that scheduled the EXEC.) You need special authorization to use the LOG option.

SPOOL userid specifies the user ID of the virtual machine that is to receive punched messages. The default user ID is the user ID of the virtual machine scheduling the EXEC. The SPOOL option is ignored if you also specify the NOLOG option.

NOLOG

Specifies that a message file is not produced.

Description

The EXEC command schedules an EXEC to execute on the CA VM:Schedule service virtual machine.

Example

You want to send user ID JOE a message at 11:45 a.m., Monday through Friday, every week to remind your friend that it is lunch time. To schedule an EXEC request named EAT that executes the VMDMSG EXEC on the CA VM:Schedule service virtual machine to send the message, enter the following command:

vmsched exec eat vmdmsg joe lunch time (on mon-fri at 11:45 again weekly

Example

To schedule a request named RUNREPT to run the REPORT EXEC every Monday of the current quarter, enter the following command:

vmsched exec runrept report (on mon during q

Example

To schedule a request named CHECKUP that runs the CHECKUP EXEC through January, beginning January 10, enter the following command:

vmsched exec checkup checkup (again daily during jan from 01/10/yy

Example

You have an EXEC named MBACKUP that submits your monthly backups. To schedule a request named BACKUP that runs the MBACKUP EXEC on the first Saturday of every month at 11 p.m., enter the following command:

vmsched exec backup mbackup (at 23:00 from f sat m again monthly