IBM Tivoli Storage Manager, Version 7.1

Schedule

The schedule command starts the client scheduler on your workstation. The client scheduler must be running before scheduled work can start.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Authorized User: The schedule command starts the client scheduler on your workstation. The client scheduler must be running before scheduled work can start.

Note:
  1. The schedule command cannot be used if the managedservices option is set to schedule (does not apply to Mac OS X).
  2. Mac OS X operating systems For Mac OSX only, to use the schedule command, specify managedservices none in the dsm.sys file.
  3. This command is valid only on the initial command line. It is not valid in interactive mode or in a macro file.

Windows operating systems If the schedmode option is set to polling, the client scheduler contacts the server for scheduled events at the hourly interval you specified with the queryschedperiod option in your client options file (dsm.opt). If your administrator sets the queryschedperiod option for all nodes, that setting overrides the client setting.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems If the schedmode option is set to polling, the client scheduler contacts the server for scheduled events at the hourly interval you specified with the queryschedperiod option in your client user-options file (dsm.opt). If your administrator sets the queryschedperiod option for all nodes, that setting overrides the client setting.

Windows operating systems If you are using TCP/IP communications, the server can prompt your workstation when it is time to run a scheduled event. To do so, set the schedmode option to prompted in the client options file (dsm.opt) or on the schedule command.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems If you are using TCP/IP communications, the server can prompt your workstation when it is time to run a scheduled event. To do so, set the schedmode option to prompted in the client user-options file (dsm.opt) or on the schedule command.

Windows operating systems After you start the client scheduler, it continues to run and to start scheduled events until you press Ctrl+Break, restart the workstation, or turn off the workstation to end it.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Mac OS X operating systems You can use the sessioninitiation option with the schedule command to control whether the server or client initiates sessions through a firewall.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems After you start the client scheduler, it continues to run and to start scheduled events until you press Ctrl+C, stop the scheduler process with the UNIX kill command, start the workstation again, or turn off the workstation to end it.

Mac OS X operating systems After you start the client scheduler, it continues to run and to start scheduled events until you press Ctrl+C, press the Q key twice, start the workstation again, or turn off the workstation to end it.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Windows operating systems Note: You cannot enter this command in interactive mode.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Windows operating systems

Supported Clients

This command is valid for all clients.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-SCHedule--+------------+------------------------------------><
             '- --options-'   

Parameters

Table 1. Schedule command: Related options
Option Where to use
Windows operating systems maxcmdretries Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems maxcmdretries Client system options file (dsm.sys) or command line.
Windows operating systems password client options file (dsm.opt)
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems password client user options file (dsm.opt)
Windows operating systems queryschedperiod Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems queryschedperiod Client system options file (dsm.sys) or command line.
Windows operating systems retryperiod Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems retryperiod Client system options file (dsm.sys) or command line.
Windows operating systems schedlogname Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems schedlogname Client system options file (dsm.sys) or command line.
Windows operating systems schedmode Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems schedmode Client system options file (dsm.sys) or command line.
Windows operating systems sessioninitiation Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems sessioninitiation Client system options file (dsm.sys) or command line.
Windows operating systems tcpclientport Client options file (dsm.opt) or command line.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems tcpclientport Client system options file (dsm.sys) or command line.

Examples

Mac OS X operating systems Windows operating systems Task
Start the client scheduler.

Command: dsmc sch –password=notell

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Task
For AIX®: Start the scheduler at system bootup time by entering this command in the /etc/inittab file. Ensure the passwordaccess option is set to generate.

Command: tsm::once:/usr/bin/dsmc sched > /dev/null 2>&1 #TSM

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Task
Interactively start the scheduler and keep it running in the background.

Command: nohup dsmc sched 2> /dev/null &

Windows operating systems When you run the schedule command, all messages regarding scheduled work are sent to the dsmsched.log file or to the file you specify with the schedlogname option in your client options file (dsm.opt). If you do not specify a directory path with the file name in the schedlogname option, the dsmsched.log resides in the current working directory.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems When you run the schedule command, all messages regarding scheduled work are sent to the dsmsched.log file or to the file you specify with the schedlogname option in your client system-options file (dsm.sys). If you do not specify a directory path with the file name in the schedlogname option, the dsmsched.log resides in the current working directory, except for Mac OS X. For Mac OS X, the dsmsched.log resides in the /Library/Logs/tivoli/tsm/ directory.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Windows operating systems Important: To prevent log write failures and process termination in certain cases, set the DSM_LOG environment variable to name a directory where default permissions allow the required access.


Feedback