Automating Host Group Management > Scheduling Utilities To Run Automatically
  
Version 10.0.01
Scheduling Utilities To Run Automatically
The utilities can be run on a one-time basis, or scheduled to run every day to automatically keep your hosts and host groups up to date. Scheduling can be accomplished by creating an Oracle job. Hitachi Storage Viewer already makes use of Oracle jobs to run many background tasks such as purging old data and rebuilding indices.
The sample SQL file in Example—Scheduling Utilities To Run Automatically sets up an Oracle job to run every day at 5:00 a.m. and call the moveOrCopyClients utility to move clients from one folder to another. This example can be used as a template for other automatic jobs you need to set up. Simply customize the text in bold for your particular requirements.
To see the Oracle jobs that are automatically configured as part of a new install, review the following files:
<database_home>/stored_procedures/setup_base_jobs.plb
<database_home>/stored_procedures/nbu/setup_nbu_jobs.sql
<database_home>/stored_procedures/tsm/setup_tsm_jobs.plb
<database_home>/stored_procedures/tsm/setup_leg_jobs.plb
Where database_home is /opt/aptare/database for Linux servers and C:\opt\oracle\database for Windows servers.