Schedcmdexception

The schedcmexception option is used in conjunction with the schedcmddisabled option to disable the scheduling of commands by the server action=command option on the DEFINE SCHEDULE server command, except for specific command strings.

You must specify the exact string that matches the "objects" definition in the schedule for the scheduled server command to be accepted. If the string does not match exactly (for example, there is an extra space or the capitalization is different), the scheduled command action is blocked.

You can provide multiple schedcmexception options in the options file. This option is not honored if schedcmddisabled is not enabled. The placement of this option in the options file is independent of the placement of the schedcmddisabled option.

Supported Clients

This option is valid for all clients. This option is not valid in the IBM Spectrum Protect™ server client options set.

Options File

Windows operating systemsPlace this option in the client options file (dsm.opt).

AIX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsPlace this option in the dsm.sys file within a server stanza.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-SCHEDCMDException--string-----------------------------------><

Parameters

string
For commands scheduled by the action=command option on the DEFINE SCHEDULE server command, this parameter indicates the objects pattern to enable if the schedcmddisabled=yes option is specified. This parameter is case sensitive, and must match the command string on the IBM Spectrum Protect server schedule definition.

Example

Options file:
schedcmddisabled yes
Windows operating systemsschedcmdexception "start dir c: /s"
schedcmdexception "start echo hello, world!"