Home

fnds

How many scripts have you written that follow this general flow?

  1. do something
  2. send the output to a file
  3. email someone

In my experience, step 1 (do something) can be very simple, like 'df -h', a script that I wrote , or any other command line. However steps 2 and 3 are kind of like the same every time, with few changes. The code for those additional tasks often ends up being longer and more complex than the original script.

Instead of rewriting the same code over and over for every script, the xle script adds logging and email capability to any command that can be typed at the shell prompt, without any coding. The log files are tagged with a timestamp and saved for future reference.

xle is able to check the return code of the command line ($?) and send emails only when an error is detected.

By the way, xle stands for eXecute, Log and Email.

Check the [README] for more details.

Installation instructions: [INSTALL]

Project Admins:


Related

Home: INSTALL
Home: README

MongoDB Logo MongoDB