Configuration and usage

The easiest way of configuring an ExecuteAgent is to use the example configuration included in the distribution.

On the changelog-daemon-host, while logged in as escenic:

$ cd /opt/escenic/changelog-daemon-2.3.5-3
$ cp examples/shell/config/Agent.properties config/

The default configuration will try to invoke the Linux command cat for each changelog entry. The output of this command will be written to the log. It will use the current directory as the working directory for the command.

To change the command, open the config/Agent.properties for editing and change

command=cat

to

command=<path_to_a_script>

where <path_to_a_script> is the path to the script you would like to invoke for each changelog entry.

For a full overview of all the configuration options for this Agent, see ExecuteAgent