logging cronjob non-zero return codes
fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Wed Nov 9 15:59:27 UTC 2005
Tim Writer wrote:
> How about this?
> mm hh dd MM wd some-script || logger rc=$?
> I'm not aware of a builtin.
Good idea, might have to resort to that.
Had hoped to copy a config file across all the servers, editing
thousands of cronjobs won't be fun. Will think of suggesting this as a
standard, this and banning all crap scripts that don't do any error
checking/reporting of their own :-(
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy