Python/Traceback mailer

Traceback mailer
The python cgitb is an incredibly useful module. It is an enhanced traceback that includes states of the variables in use. Here's a script that will email us the information if/when one of our tools breaks.

First enable the module in each of your scripts:

Automatic HTML mailing script:

The suggested crontab entry: