Previous: Crontab Format, Up: Crontabs [Contents][Index]
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. It is controlled by the following variables:
MAILTO_MICRON_MAILTO_JOB_MAILTOSend the output via email.
_MICRON_SYSLOG_FACILITY_JOB_SYSLOG_FACILITYReport each output line via syslog.
_MICRON_OUTFILE_JOB_OUTFILEAppend 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 |