.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FCRON.CONF" "5" "22 March 2025" "03/22/2025" ""
.SH NAME
fcron.conf \- configuration file for fcron and fcrontab
.SH "DESCRIPTION"
.SS "ABSTRACT"
.PP
This page describes the syntax used for the configuration file
of \fBfcrontab\fR(1),
\fBfcrondyn\fR(1) and
\fBfcron\fR(8).
.PP
Blank lines, lines beginning with a hash sign (#) (which are
considered as comments), leading blanks and tabs are ignored. Each line in a
\fBfcron.conf\fR file is of the form
.sp
.RS
.PP
name = value
.RE
where the blanks around equal-sign (=) are ignored and
optional. Trailing blanks are also ignored.
.PP
The following names are recognized (default value in parentheses):
"VALID VARIABLES IN A FCRON.CONF FILE"
.TP
\fB fcrontabs=\fIdirectory\fB (\fI/var/spool/fcron\fB) \fR
\fBFcron\fR spool directory.
.TP
\fB pidfile=\fIfile-path\fB (\fI/var/run/fcron.pid\fB) \fR
Location of \fBfcron\fR pid file (needed by \fBfcrontab\fR
to work properly).
.TP
\fB suspendfile=\fIfile-path\fB (\fI/var/run/fcron.suspend\fB)\fR
Location of \fBfcron\fR suspend file. On non-Linux
systems, this should be used to let fcron know how
long the system was suspended (to memory or disk),
so as task schedules can be updated accordingly.
.TP
\fB fifofile=\fIfile-path\fB (\fI/var/run/fcron.fifo\fB) \fR
Location of \fBfcron\fR fifo file (needed by
\fBfcrondyn\fR to communicate with \fBfcron\fR).
.TP
\fB fcronallow=\fIfile-path\fB (\fI/etc/fcron.allow\fB) \fR
Location of fcron.allow file.
.TP
\fB fcrondeny=\fIfile-path\fB (\fI/etc/fcron.deny\fB) \fR
Location of fcron.deny file.
.TP
\fB shell=\fIfile-path\fB (\fI/usr/bin/sh\fB) \fR
Location of default shell called by \fBfcron\fR when
running a job. When \fBfcron\fR runs a job, \fBfcron\fR
uses the value of \fBSHELL\fR from the
fcrontab if any, otherwise it uses the value from
\fIfcron.conf\fR if any, or in last
resort the value from
\fI/etc/passwd\fR\&.
.TP
\fB sendmail=\fIfile-path\fB (\fI/usr/sbin/sendmail\fB) \fR
Location of mailer program called by \fBfcron\fR to
send job output.
.TP
\fB editor=\fIfile-path\fB (\fI/usr/bin/vi\fB) \fR
Location of default editor used when invoking
"fcrontab -e".
.TP
\fB maildisplayname=\fIstring\fB (Fcron Daemon) \fR
Display name for the "From: " header of mails sent
by us. Note that in the past, \fBfcron\fR was following Vixie cron's
default email header format which is not fully
compliant with RFC 5322 (see Issue
#15 ). fcron will revert to this old behaviour when
this option is set to an empty string.
File-paths and directories are complete and absolute
(i.e. beginning by a "/").
.PP
To run several instances of \fBfcron\fR 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 \fBfcron\fR(8)'s command line option
\fI-c\fR to select which config file (so which
instance) you refer to.
.SH "FILES"
.TP
\fB\fI/etc/fcron.conf\fB\fR
Configuration file for \fBfcron\fR, \fBfcrontab\fR and
\fBfcrondyn\fR: contains paths (spool dir, pid file) and
default programs to use (editor, shell, etc). See
\fBfcron.conf\fR(5)
for more details.
.TP
\fB\fI/etc/fcron.allow\fB\fR
Users allowed to use \fBfcrontab\fR and \fBfcrondyn\fR (one
name per line, special name "all" acts for everyone)
.TP
\fB\fI/etc/fcron.deny\fB\fR
Users who are not allowed to use \fBfcrontab\fR and
\fBfcrondyn\fR (same format as allow file)
.TP
\fB\fI/etc/pam.d/fcron\fB (or \fI/etc/pam.conf\fB)\fR
PAM configuration file for
\fBfcron\fR\&. Take a look at \fBpam\fR(8) for more details.
.SH "SEE ALSO"
\fBfcrontab\fR(1),
\fBfcrondyn\fR(1),
\fBfcrontab\fR(5),
\fBfcron.conf\fR(5),
\fBfcron\fR(8).
If you're learning how to use fcron from scratch, I suggest
that you read the HTML version of the documentation (if your are not reading it
right now! :) ): the content is the same, but it is easier to navigate thanks
to the hyperlinks.
.SH "AUTHOR"
.PP
Thibault Godouet