06-10-2004
3,093,
36
Join Date: Apr 2002
Last Activity: 28 March 2019, 4:00 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks Given: 2
Thanked 36 Times in 11 Posts
Check out the man page for logger - it adds entries to the system log. The man page has examples to place messages via syslog.
I have never tried doing it in the way you suggest so I don't have step-by-step instructions via cron.
(After seeing you quote me I thought maybe I wasn't clear enough...)
1. Sign into your system
2. At your prompt, type man logger
3. Look for the examples
A cron job can be a script that is run - inside the script you can send your messages via logger. To get the completion or error codes from cron, you would have to have the output of the email cron sends - you can't send that to logger but would have to create another script.
Last edited by RTM; 06-10-2004 at 06:48 PM..