Quick Start


Automating Administrative Commands

You can automate TSM administrative tasks by scheduling administrative commands. For example, you can automate commands that need to be run regularly or that require significant processing or other system resources. In this section, you define a schedule to run expiration processing.

  1. Define a schedule named EXPPROC that invokes expiration processing every night at 2:00 a.m.

    This schedule calls for a schedule window that:



    Figure AB0CT124 not displayed.

    define schedule expproc type=administrative -
      cmd='expire inventory' active=yes starttime=02:00
    



    Figure AB0CT338 not displayed.

    1. Select Automation.

    2. Select Administrative Command Schedules.

    3. From Operations, select Define Schedule.

    4. Enter the schedule information and Finish.

  2. Because the EXPPROC schedule is to run daily, you can verify that the automation is working as it should on the day after you define the schedule. If the schedule has run successfully, the status will be Completed.

    Figure AB0CT124 not displayed.

    query event expproc type=administrative -
      begindate=today-1
    



    Figure AB0CT338 not displayed.

    1. Select Automation.

    2. Expand Administrative Command Schedules.

    3. Select Query Administrative Events.

    4. Enter the required information and Finish.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]