domingo, 15 de julio de 2007

Better Scripts #3 - use logger

When you write scripts, especially scripts that will be executed unattended by cron or a similar facility, in most cases you want some way of getting error messages. Sometimes email is the way to go, sometimes you can just redirect output to a text file. Solaris and most other *NIX operating systems are shipped with a tool to log directly to syslog, logger(1).

(more...)

No hay comentarios: