[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cron jobs



OK I have looked at the cron and crontabs man pages to no avail.  I would
like to have a script that runs every 15 minutes only send me an email if
it errors.  The script exits out if certain conditions are good.  I have
it exiting with an exit command in a if statement.

What I want is it to email me if it does not exit out prematurely.  That
way I can tell when I had to run the script so I can get a feal as to how
often I end up with a problem.

Any ideas?

Brian Schramm
bri@penguinpowered.com
www.linuxexpert.org



Reply to: