logging cronjob non-zero return codes
Fraser Campbell
fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Mon Nov 7 18:15:01 UTC 2005
Does anyone know if there's a way to make cron log failed return codes
from scripts? For example on solaris, /var/cron/log will contain
entries such as:
< root 12978 c Fri Nov 4 02:01:00 2005 rc=1
Indicating that this script returned 1 instead of 0. All of the distros
I'm using appear to use vixie cron, I would guess this is the standard
across the board.
Thanks,
Fraser
--
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
mailing list