devmode:~# man 5 crontab
An active line in a crontab will be either an environment setting or a cron command. An environment setting is of the form,
name = value
where the spaces around the equal-sign (=) are optional, and any subsequent non-leading spaces in value will be part of the value assigned to name.
The value string may be placed in quotes (single or double, but matching) to preserve leading or trailing blanks. The value string is not parsed for
environmental substitutions, thus lines like
PATH = $HOME/bin:$PATH
will not work as you might expect.
Several environment variables are set up automatically by the cron(8) daemon. SHELL is set to /bin/sh, and LOGNAME and HOME are set from the
/etc/passwd line of the crontab's owner. PATH is set to "/usr/bin:/bin". HOME, SHELL, and PATH may be overridden by settings in the crontab; LOGNAME
is the user that the job is running from, and may not be changed.
(Another note: the LOGNAME variable is sometimes called USER on BSD systems... on these systems, USER will be set also.)
In addition to LOGNAME, HOME, and SHELL, cron(8) will look at MAILTO if it has any reason to send mail as a result of running commands in ``this''
crontab. If MAILTO is defined (and non-empty), mail is sent to the user so named. If MAILTO is defined but empty (MAILTO=""), no mail will be sent.
Otherwise mail is sent to the owner of the crontab.
**** MAILTO=""; /etc/bla/gut.php
**** /etc/bla/gut.php >/dev/null 2>&1
We use essential cookies to make this site work, and optional cookies to enhance your experience.