12.07.2015 Views

Installation and User's Guide

Installation and User's Guide

Installation and User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Postschedulecmd/PostnschedulecmdThe postschedulecmd/postnschedulecmd option specifies a comm<strong>and</strong> that theclient program processes after it runs a schedule.The client program waits for the comm<strong>and</strong> to complete before it continues withother processing.If you do not want to wait, specify postnschedulecmd.Note:1. If the postschedulecmd comm<strong>and</strong> does not complete with return code 0, theclient reports that the scheduled event completed with return code 8 (unless thescheduled operation encounters a more severe error yielding a higher returncode). If you do not want the postschedulecmd comm<strong>and</strong> to be governed bythis rule, you can create a script or batch file that invokes the comm<strong>and</strong> <strong>and</strong>exits with return code 0. Then configure postschedulecmd to invoke the scriptor batch file. The return code for the postnschedulecmd comm<strong>and</strong> is nottracked, <strong>and</strong> does not influence the return code of the scheduled event.2. The server can also define the postschedulecmd option (<strong>and</strong> thepostnschedulecmd option).Supported ClientsThis option is valid for all clients. The Tivoli Storage Manager client API does notsupport this option. The server can also define this option.Options FilePlace this option in the client options file (dsm.opt). You can set this option on theScheduler tab, Schedule Comm<strong>and</strong> button of the Preferences editor.Syntax►►POSTSChedulecmdPOSTNSChedulecmd"cmdstring"►◄Parameters"cmdstring"Specifies the comm<strong>and</strong> to process. You can enter a comm<strong>and</strong> to be run after aschedule with this option. Use only one postschedulecmd option.Specify the comm<strong>and</strong> string just as you would enter it from the operatingsystem comm<strong>and</strong> prompt. If the comm<strong>and</strong> string contains any blank spaces,enclose the comm<strong>and</strong> string in single quotation marks. For example:’net stop someservice’Use a blank, or null, string for cmdstring if you want to prevent any comm<strong>and</strong>sfrom running that the Tivoli Storage Manager server administrator uses forpostschedulecmd or preschedulecmd. If you specify a blank or null string oneither option, it prevents the administrator from using a comm<strong>and</strong> on bothoptions.If your administrator uses a blank or null string on the postschedulecmdoption, you cannot run a post-schedule comm<strong>and</strong>.Chapter 12. Processing options 429

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!