8.5.4.2 Executing the Calendar Manager Utility
Typically, you manage the Calendar Manager Utility as part of automated processing. You can run the utility either inside a batch process (that is, after calling the start_mantas_batch.sh script) or outside a batch. You can start the utility manually by using the following procedure.
To start the Calendar Manager Utility, follow these steps:
- Verify that the Behavior Detection database is operational:
tnsping <database instance name>
- Verify that the
<INSTALL_DIR>/database/db_tools/mantas_cfg/install.cfg
configuration file contains the correct source database connection information. - Go to the directory where the shell script resides:
cd <INSTALL_DIR>/database/db_tools/bin
- Start the calendar manager shell script:
set_mantas_date.sh YYYYMMDD
where
YYYYMMDD
is the date on which you want to base the calendar (for example, enter November 30, 2006 as20061130
). The utility then verifies that the entered date is valid and appears in the correct format.
If you do not enter a date or enter it incorrectly, the utility terminates and logs a
message that describes the error. The error message displays on the console only if you
have output to the console enabled in the <INSTALL_DIR>/database/ db_tools/
mantas_cfg/categories.cfg
configuration file. See Configuring Console Output, for more information.