Previous: Behaviour on laptops, Up: Invoking [Contents][Index]
The following are the status codes returned to the operating system when the program terminates.
No problems.
An attempt has been made to start cron but there is already a /var/run/cron.pid file. If there really is no other cron daemon running (this does not include invokations of mcron) then you should remove this file before attempting to run cron.
In parsing a guile configuration file, a job
command has been
seen but the second argument is neither a procedure, list or
string. This argument is the job’s action, and needs to be specified
in one of these forms.
In parsing a guile configuration file, a job
command has been
seen but the first argument is neither a procedure, list or
string. This argument is the job’s next-time specification, and needs
to be specified in one of these forms.
An attempt to run cron has been made by a user who does not have permission to access the crontabs in /var/cron/tabs. These files should be readable only by root, and the cron daemon must be run as root.
An attempt to run mcron has been made, but there are no jobs to schedule!
The system administrator has blocked this user from using crontab with the files /var/cron/allow and /var/cron/deny.
Crontab has been run with more than one of the arguments -l
,
-r
, -e
. These are mutually exclusive options.
Crontab has been run with the -u option by a user other than root. Only root is allowed to use this option.
An invalid Vixie-style time specification has been supplied.
An invalid Vixie-style job specification has been supplied.
A bad line has been seen in /etc/crontab.
The last component of the name of the program was not one of
mcron
, cron
, crond
or crontab
.
Either none of the user’s configuration directories exist, or there is a problem
reading the files there. The configuration directories are ~/.cron
and the directory pointed to by the XDG_CONFIG_HOME
environment
variable, or ~/.config/cron if this is not set.
Crontab has been run without any arguments at all. There is no default behaviour in this case.
Cron has been run by a user other than root.
Previous: Behaviour on laptops, Up: Invoking [Contents][Index]