3 Copyright 2000-2012 Thibault Godouet <fcron@free.fr>
4 Permission is granted to copy, distribute and/or modify this
5 document under the terms of the GNU Free Documentation License,
6 Version 1.1 or any later version published by the Free Software
8 A copy of the license is included in gfdl.sgml.
12 <refentry id="fcron.conf.5">
14 <refentrytitle>fcron.conf</refentrytitle>
15 <manvolnum>5</manvolnum>
16 <refmiscinfo>Fcron &version; <![%devrelease; [
17 (<emphasis>development</emphasis> release)]]></refmiscinfo>
18 <refmiscinfo>&date;</refmiscinfo>
21 <refname>fcron.conf</refname>
22 <refpurpose>configuration file for fcron and fcrontab</refpurpose>
26 <title>Description</title>
28 <para>This page describes the syntax used for the configuration file
29 of <link linkend="fcrontab.1">&fcrontab;</link>(1), <link
30 linkend="fcrondyn.1">&fcrondyn;</link>(1) and <link
31 linkend="fcron.8">&fcron;</link>(8).</para>
33 <para>Blank lines, line beginning by a hash sign (#) (which are
34 considered comments), leading blanks and tabs are ignored. Each line in a
35 &fcron.conf file is of the form
37 <para>name = value</para>
38 </blockquote> where the blanks around equal-sign (=) are ignored and
39 optional. Trailing blanks are also ignored.
41 <para>The following names are recognized (default value in parentheses):
43 <title>Valid variables in a fcron.conf file</title>
45 <term><varname>fcrontabs</varname>=<replaceable>directory</replaceable>
46 (<filename>&fcrontabsdir;</filename>)</term>
48 <para>&Fcron; spool directory.</para>
52 <term><varname>pidfile</varname>=<replaceable>file-path</replaceable>
53 (<filename>&fcron.pid;</filename>)</term>
55 <para>Location of &fcron; pid file (needed by &fcrontab;
56 to work properly).</para>
60 <term><varname>fifofile</varname>=<replaceable>file-path</replaceable>
61 (<filename>&fcron.fifo;</filename>)</term>
63 <para>Location of &fcron; fifo file (needed by
64 &fcrondyn; to communicate with &fcron;).</para>
68 <term><varname>fcronallow</varname>=<replaceable>file-path</replaceable>
69 (<filename>&etc;/&fcron.allow;</filename>)</term>
71 <para>Location of fcron.allow file.</para>
75 <term><varname>fcrondeny</varname>=<replaceable>file-path</replaceable>
76 (<filename>&etc;/&fcron.deny;</filename>)</term>
78 <para>Location of fcron.deny file.</para>
82 <term><varname>shell</varname>=<replaceable>file-path</replaceable>
83 (<filename>&shell;</filename>)</term>
85 <para>Location of default shell called by &fcron; when
86 running a job. When &fcron; runs a job, &fcron; uses the value of <envar>SHELL</envar> from the fcrontab if any, otherwise it uses the value from <filename>fcron.conf</filename> if any, or in last resort the value from <filename>/etc/passwd</filename>.</para>
90 <term><varname>sendmail</varname>=<replaceable>file-path</replaceable>
91 (<filename>&sendmail;</filename>)</term>
93 <para>Location of mailer program called by &fcron; to
94 send job output.</para>
98 <term><varname>editor</varname>=<replaceable>file-path</replaceable>
99 (<filename>&editor;</filename>)</term>
101 <para>Location of default editor used when invoking
102 "fcrontab -e".</para>
105 </variablelist> File-paths and directories are complete and absolute
106 (i.e. beginning by a "/").</para>
107 <para>To run several instances of &fcron; simultaneously on the same
108 system, you must use a different configuration file for each instance. Each
109 instance must have a different <varname>fcrontabs</varname>,
110 <varname>pidfile</varname> and <varname>fifofile</varname>. Then, use <link
111 linkend="fcron.8">&fcron;</link>(8)'s command line option
112 <parameter>-c</parameter> to select which config file (so which instance) you
120 <term><filename>&etc;/&fcron.conf.location;</filename></term>
122 <para>Configuration file for &fcron;, &fcrontab and
123 &fcrondyn;: contains paths (spool dir, pid file) and default programs to use
124 (editor, shell, etc). See <link linkend="fcron.conf.5">&fcron.conf</link>(5) for
129 <term><filename>&etc;/&fcron.allow;</filename></term>
131 <para>Users allowed to use &fcrontab; and &fcrondyn; (one
132 name per line, special name "all" acts for everyone)</para>
136 <term><filename>&etc;/&fcron.deny;</filename></term>
138 <para>Users who are not allowed to use &fcrontab; and
139 &fcrondyn; (same format as allow file)</para>
143 <term><filename>&etc;/pam.d/fcron</filename> (or
144 <filename>&etc;/pam.conf</filename>)</term>
146 <para><productname>PAM</productname> configuration file for
147 &fcron;. Take a look at &pam;(8) for more details.</para>
157 <!-- Keep this comment at the end of the file
160 sgml-parent-document:("fcron-doc.sgml" "book" "chapter" "sect1" "refentry" "")