When run, a cronjob can print something on its standard output or error streams. The output it produces can be sent via email to a given list of addresses, appended to a file, or reported via syslog. This output redirection can be configured either globally, or individually for each job. This is controlled by the following variables:
Send the output via email.
Report each output line via syslog.
Append the output to a file.
These settings are discussed in detail in the following subsections.
|• Mailing the cronjob output|
|• Logging output to syslog|
|• Sending output to file|