![]() |
![]() |
System Administrator
The postschedulecmd option specifies a command that the client program processes after it runs a schedule. The client program waits for the command to complete before it continues with other processing.
If you do not want to wait, specify postnschedulecmd.
Notes:
Preferences File
Place this option in the TSM System Preferences file.
Syntax
>>-+-POSTSchedulecmd--+-- "cmdstring"-------------------------->< '-POSTNschedulecmd-'
Parameters
Use a blank, or null, string for cmdstring if you want to prevent any commands from running that the administrator uses for postschedulecmd or preschedulecmd. If you specify a blank or null string on either option, it prevents the administrator from using a command on both options.
If your administrator uses a blank or null string on the postschedulecmd option, you cannot run a post-schedule command.
If the command string contains blanks, enclose the command string in double quotes. If you placed double quotes within the command string, then enclose the entire command string in single quotes.
The command string should specify an AppleScript to launch. If it is only a file name, such as "Database Script", the client program searches for this file in the Scripts folder inside the Tivoli Storage Manager folder. Otherwise, the command string should contain the full path of the file, such as:
"La Pomme:Scripting:Database Script"
postschedulecmd startdb.cmd postschedulecmd "rename c:\myapp\logfile.log logfile.new" preschedulecmd 'net start "simple service"' preschedulecmd 'rename "c:\program files\myapp\log file.log" "log file.new"'
Examples
The command string is a valid command for restarting your database.