7.5.1.1 Executing the Calendar Manager Utility

You can 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.

  1. Verify that the Behavior Detection database is operational: tnsping <database instance name>
  2. Verify that the <OFSAAI Installed Directory>/database/db_tools/mantas_cfg/ install.cfg configuration file contains the correct source database connection information.
  3. Go to the directory where the shell script resides: cd <OFSAAI Installed Directory>/database/db_tools/bin
  4. Start the calendar manager shell script: set_mantas_date.sh YYYYMMDD
    where YYYYMMDD is the date on which you want to base the calendar , such as 20161130 for November 30, 2016. 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 <OFSAAI Installed Directory>/database/db_tools/mantas_cfg/ categories.cfg configuration file.