Using the 'exit' delivery method

The exit delivery method lets you set up automatic responses to system events beyond just sending a message. When you set the delivery method for a given event to exit, you use the delivery address to specify the explicit path to a script or program on your system. Whenever that event occurs, InfoPrint Manager runs the script or program you specify.

For example, if the InfoPrint Manager server runs low on disk space, the disk-space-low event generates a message for the system administrator. The administrator then has to do something to clean up the disk so InfoPrint Manager can continue to run effectively. However, using the exit delivery method can automate that process by launching a "disk clean up" script. The administrator can still receive the message, but will know that the script is already working on the problem.

By default, when you use the exit delivery method, InfoPrint Manager only passes two values along to the script or program: the message number of the event that occurred and the text of the message. As a result, the command line that the exit delivery method executes is composed of the path that you specified in the delivery address, the last three digits of the message number, and the text of the message.