DESCRIPTION
ABSTRACT
This page describes the syntax used for the configuration file of fcrontab(1), fcrondyn(1) and fcron(8).
Blank lines, line beginning by a hash sign (#) (which are considered comments), leading blanks and tabs are ignored. Each line in a fcron.conf file is of the form
-
name = value
The following names are recognized (default value in parentheses): "VALID VARIABLES IN A FCRON.CONF FILE"
- fcrontabs=directory (/var/spool/fcron)
- Fcron spool directory.
- pidfile=file-path (/var/run/fcron.pid)
- Location of fcron pid file (needed by fcrontab to work properly).
- fifofile=file-path (/var/run/fcron.fifo)
- Location of fcron fifo file (needed by fcrondyn to communicate with fcron).
- fcronallow=file-path (/etc/fcron.allow)
- Location of fcron.allow file.
- fcrondeny=file-path (/etc/fcron.deny)
- Location of fcron.deny file.
- shell=file-path (/bin/sh)
- Location of default shell called by fcron when running a job.
- sendmail=file-path (/usr/lib/sendmail)
- Location of mailer program called by fcron to send job output.
- editor=file-path (/usr/bin/vi)
- Location of default editor used when invoking "fcrontab -e". File-paths and directories are complete and absolute (i.e. beginning by a "/").
To run several instances of fcron simultaneously on the same system, you must use a different configuration file for each instance. Each instance must have a different fcrontabs, pidfile and fifofile. Then, use fcron(8)'s command line option -c to select which config file (so which instance) you refer to.
FILES
- /etc/fcron.conf
- Configuration file for fcron, fcrontab and fcrondyn: contains paths (spool dir, pid file) and default programs to use (editor, shell, etc). See fcron.conf(5) for more details.
- /etc/fcron.allow
- Users allowed to use fcrontab and fcrondyn (one name per line, special name "all" acts for everyone)
- /etc/fcron.deny
- Users who are not allowed to use fcrontab and fcrondyn (same format as allow file)
- /etc/pam.d/fcron (or /etc/pam.conf)
- PAM configuration file for fcron. Take a look at pam(8) for more details.