Srvprepostscheddisabled

The srvprepostscheddisabled option specifies whether to prevent the pre-schedule and post-schedule commands specified by the IBM Spectrum Protect administrator from executing on the client system, when performing scheduled operations.

The srvprepostscheddisabled option can be used in conjunction with the schedcmddisabled and srvprepostscheddisabled options to disable the execution of any unwanted operating system command by the IBM Spectrum Protect administrator on a client node.

Supported Clients

This option is valid for all backup-archive clients that use the IBM Spectrum Protect client scheduler. The server cannot define this option.

Options File

Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsPlace this option in the dsm.sys file within a server stanza for the scheduler. You can set this option on the Scheduler tab of the Preferences editor, in the Schedule Command section.

Windows operating systemsPlace this option in the client options file (dsm.opt) for the scheduler. You can set this option on the Scheduler tab of the Preferences editor, in the Schedule Command section.

Syntax

Read syntax diagramSkip visual syntax diagramSRVPREPOSTSCHeddisabled NoYes

Parameters

No
Specifies that the client allows pre-schedule and post-schedule commands defined by the IBM Spectrum Protect administrator to execute on the client system, when performing scheduled operations. If a pre-schedule or a post-schedule command is defined by both the client and the IBM Spectrum Protect administrator, the command defined by the administrator overrides the corresponding command defined in the client option file. This is the default.
Yes
Specifies that the client prevents pre-schedule and post-schedule commands defined by the IBM Spectrum Protect administrator to execute on the client system, when performing scheduled operations. If a pre-schedule or a post-schedule command is defined by both the client and the IBM Spectrum Protect administrator, the command defined by the administrator will not override the corresponding command defined in the client option file. This option can be used in conjunction with the schedcmddisabled and srvprepostscheddisabled options.

Examples

Options file:
srvprepostscheddisabled yes
Command line:
Does not apply.