Eric Wald wrote: > Could these two be added by a simple wrapper around your real cron job? > It could start by adding a single line to a log file, then steal all of > the input and pipe it into sendmail. Rough guideline: > > echo `date -u +"%s"` "$@" >> /var/log/jobsrun.log > ( echo "From: $...@localhost"; \ > echo "To: $u...@localhost"; > echo "Subject: Job transcript for $1"; > echo; \ > "$@" ) |& sendmail -i $u...@localhost > > Good luck.
Not a bad idea! Thanks. Shane /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
