You automate an administration task using an event dispatcher.
You need to have activated the event as appropriate using the Database Manager.
You can find an overview of the events you can activate and deactivate in Concepts of the Database System, Overview of Database Events.
You do not need to activate the special event dispatcher events
...
1. You add a new entry to the configuration file for the event dispatcher using the add command.
If no configuration file as yet exists, the event dispatcher then creates a configuration file when the add command is executed.
2. If you have not yet started the event dispatcher, start the event dispatcher with this configuration file using the start command.
The event dispatcher monitors the database instance.
If the database instance monitored triggers an event, the event dispatcher analyzes the event. If the latter finds an entry in its configuration file, the event dispatcher then calls the program specified and transfers any necessary parameters to it.
Example: E-mail Notification After the DATABASEFULL Event
Example: Log Backup After the LOGABOVELIMIT Event
See also:
Overview of Event Dispatcher Commands
Concepts of the Database System,
· Automating Administration Tasks