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

Re: Cron jobs



On Thu, Nov 11, 1999 at 11:41:19AM -0500,
Brian Schramm <bschramm@schramms.yi.org> wrote:
> 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.

Just echo whatever you want. The output of your cron jobs is mailed to
you. You could also use mail to do it yourself, like this:

cat <<EOF |mail -s "cron errors" username
This didn't work.
Blah blah $f.
EOF

-- 
Eric Gillespie, Jr. <*> epg@pobox.com

"I thought I was in love once. Later I learned it was an inner ear
 infection."
 --Constable Benton Fraser (Due South)

Attachment: pgp3mvE7fgQ2r.pgp
Description: PGP signature


Reply to: