Hi everyone,
I'm wondering if there's a way to send all cron output to syslog by default. I know, of course, you can can use shell redirection into a file, or even pipe a specific command's output to logger(1), and that'll get it to the appropriate log file according to syslog's configuration… but I'm wondering if there's anything that can be done at the cron configuration level (or even invocation via some --flag) to, by default, even if I don't employ any of those techniques at the individual job level, still send all cron output to syslog.
Thanks!
I'm wondering if there's a way to send all cron output to syslog by default. I know, of course, you can can use shell redirection into a file, or even pipe a specific command's output to logger(1), and that'll get it to the appropriate log file according to syslog's configuration… but I'm wondering if there's anything that can be done at the cron configuration level (or even invocation via some --flag) to, by default, even if I don't employ any of those techniques at the individual job level, still send all cron output to syslog.
Thanks!