1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY fcron-download-http "http://fcron.free.fr/archives/fcron-&fcron-version;.src.tar.gz">
|
---|
8 | <!ENTITY fcron-download-ftp " ">
|
---|
9 | <!-- <!ENTITY fcron-download-ftp "ftp://ftp.seul.org/pub/fcron/fcron-&fcron-version;.src.tar.gz">-->
|
---|
10 | <!ENTITY fcron-md5sum "b58ce88344eb4c80a353066547d20a24">
|
---|
11 | <!ENTITY fcron-size "584 KB">
|
---|
12 | <!ENTITY fcron-buildsize "5.1 MB">
|
---|
13 | <!ENTITY fcron-time "0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
|
---|
17 | <?dbhtml filename="fcron.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Fcron-&fcron-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="fcron">
|
---|
27 | <primary sortas="a-Fcron">Fcron</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Fcron</title>
|
---|
32 |
|
---|
33 | <para>The <application>Fcron</application> package contains a periodical
|
---|
34 | command scheduler which aims at replacing <application>Vixie
|
---|
35 | Cron</application>.</para>
|
---|
36 |
|
---|
37 | &lfs75_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&fcron-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&fcron-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: &fcron-md5sum;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &fcron-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &fcron-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &fcron-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 | <!--
|
---|
61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
62 | <itemizedlist spacing="compact">
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Required patch:
|
---|
66 | <ulink url="&patch-root;/fcron-&fcron-version;-sendmail_upstream-1.patch"/>
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 | -->
|
---|
71 | <bridgehead renderas="sect3">Fcron Dependencies</bridgehead>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
74 | <para role="optional">An <xref linkend="server-mail"/>,
|
---|
75 | <ulink url="../postlfs/editors.html">text editor</ulink> (default is
|
---|
76 | <command>vi</command> from the <xref linkend="vim"/> package),
|
---|
77 | <xref linkend="linux-pam"/>,
|
---|
78 | <xref linkend="docbook-utils"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <para condition="html" role="usernotes">User Notes:
|
---|
82 | <ulink url="&blfs-wiki;/fcron"/></para>
|
---|
83 |
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="installation">
|
---|
87 | <title>Installation of Fcron</title>
|
---|
88 |
|
---|
89 | <note>
|
---|
90 | <para>
|
---|
91 | Systemd logging daemon, systemd-journald will automatically log
|
---|
92 | all the messages from the services started by systemd.
|
---|
93 | </para>
|
---|
94 | </note>
|
---|
95 |
|
---|
96 | <para>For security reasons, an unprivileged user and group for
|
---|
97 | <application>Fcron</application> should be created (perform as the
|
---|
98 | <systemitem class='username'>root</systemitem> user):</para>
|
---|
99 |
|
---|
100 | <screen role="root"><userinput>groupadd -g 22 fcron &&
|
---|
101 | useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22 fcron</userinput></screen>
|
---|
102 |
|
---|
103 | <para>Install <application>Fcron</application> by running the following
|
---|
104 | commands:</para>
|
---|
105 |
|
---|
106 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
107 | --localstatedir=/var --without-sendmail --with-boot-install=no &&
|
---|
108 | make</userinput></screen>
|
---|
109 |
|
---|
110 | <para>This package does not come with a test suite.</para>
|
---|
111 |
|
---|
112 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
115 |
|
---|
116 | <para>DESTDIR install must be done as <systemitem class="username">root</systemitem> user.</para>
|
---|
117 |
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2 role="commands">
|
---|
121 | <title>Command Explanations</title>
|
---|
122 | <!--
|
---|
123 | <para><command>autoconf</command>: This command is required to rebuild
|
---|
124 | <filename>configure</filename> using the fixed input file.</para>-->
|
---|
125 |
|
---|
126 | <para><parameter>--without-sendmail</parameter>: By default,
|
---|
127 | <application>Fcron</application> will attempt to use the
|
---|
128 | <command>sendmail</command> command from an <xref linkend="server-mail"/>
|
---|
129 | package to email you the results of the <command>fcron</command> script.
|
---|
130 | This switch is used to disable default email notification. Omit the switch
|
---|
131 | to enable the default. Alternatively, you can use the
|
---|
132 | <option>--with-sendmail=<replaceable></path/to/MTA
|
---|
133 | command></replaceable></option> to use a different mailer command.</para>
|
---|
134 |
|
---|
135 | <para><parameter>--with-boot-install=no</parameter>: This prevents installation
|
---|
136 | of the bootscript included with the package.</para>
|
---|
137 |
|
---|
138 | <para><option>--with-editor=<replaceable></path/to/editor></replaceable></option>:
|
---|
139 | This switch allows you to set the default text editor.</para>
|
---|
140 | <!--
|
---|
141 | <para><option>-with-dsssl-dir=<replaceable></path/to/dsssl-stylesheets></replaceable></option>:
|
---|
142 | May be used in order to avoid a warning message about not finding the
|
---|
143 | DSSSL stylesheets.</para>-->
|
---|
144 |
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | <sect2 role="configuration">
|
---|
148 | <title>Configuring Fcron</title>
|
---|
149 |
|
---|
150 | <sect3 id="fcron-config">
|
---|
151 | <title>Config Files</title>
|
---|
152 |
|
---|
153 | <para><filename>/etc/fcron.conf</filename>,
|
---|
154 | <filename>/etc/fcron.allow</filename>, and
|
---|
155 | <filename>/etc/fcron.deny</filename></para>
|
---|
156 |
|
---|
157 | <indexterm zone="fcron fcron-config">
|
---|
158 | <primary sortas="e-etc-fcron.conf">/etc/fcron.conf</primary>
|
---|
159 | </indexterm>
|
---|
160 |
|
---|
161 | <indexterm zone="fcron fcron-config">
|
---|
162 | <primary sortas="e-etc-fcron.allow">/etc/fcron.allow</primary>
|
---|
163 | </indexterm>
|
---|
164 |
|
---|
165 | <indexterm zone="fcron fcron-config">
|
---|
166 | <primary sortas="e-etc-fcron.deny">/etc/fcron.deny</primary>
|
---|
167 | </indexterm>
|
---|
168 |
|
---|
169 | </sect3>
|
---|
170 |
|
---|
171 | <sect3>
|
---|
172 | <title>Configuration Information</title>
|
---|
173 |
|
---|
174 | <para>There are no required changes in any of the config files.
|
---|
175 | Configuration information can be found in the man page for
|
---|
176 | <filename>fcron.conf</filename>.</para>
|
---|
177 |
|
---|
178 | <para><command>fcron</command> scripts are written using
|
---|
179 | <command>fcrontab</command>. Refer to the <command>fcrontab</command> man
|
---|
180 | page for proper parameters to address your situation.</para>
|
---|
181 |
|
---|
182 | <para id="fcron-pam">If <application>Linux-PAM</application>
|
---|
183 | is installed, two PAM configuration files are installed in
|
---|
184 | <filename class='directory'>/etc/pam.d</filename>. Alternatively if
|
---|
185 | <filename class='directory'>/etc/pam.d</filename> is not used, the installation
|
---|
186 | will append two configuration sections to the existing
|
---|
187 | <filename>/etc/pam.conf</filename> file. You should ensure the files match your
|
---|
188 | preferences. Modify them as required to suit your needs.</para>
|
---|
189 |
|
---|
190 | <indexterm zone="fcron fcron-pam">
|
---|
191 | <primary sortas="e-etc-pam.d">/etc/pam.d/*</primary>
|
---|
192 | </indexterm>
|
---|
193 |
|
---|
194 | <indexterm zone="fcron fcron-pam">
|
---|
195 | <primary sortas="e-etc-pam.conf">/etc/pam.conf</primary>
|
---|
196 | </indexterm>
|
---|
197 |
|
---|
198 | </sect3>
|
---|
199 |
|
---|
200 | <sect3 id="fcron-init-systemd">
|
---|
201 | <title>Systemd Unit File</title>
|
---|
202 |
|
---|
203 | <para>
|
---|
204 | This package will automatically install the systemd unit file if systemd is detected.
|
---|
205 | To enable it, issue as the <systemitem class="username">root</systemitem> user:
|
---|
206 | </para>
|
---|
207 |
|
---|
208 | <indexterm zone="fcron fcron-init-systemd">
|
---|
209 | <primary sortas="f-fcron">fcron</primary>
|
---|
210 | </indexterm>
|
---|
211 |
|
---|
212 | <screen role="root">
|
---|
213 | <userinput>
|
---|
214 |
|
---|
215 | systemctl enable fcron
|
---|
216 |
|
---|
217 | </userinput></screen>
|
---|
218 |
|
---|
219 | </sect3>
|
---|
220 |
|
---|
221 | </sect2>
|
---|
222 |
|
---|
223 | <sect2 role="content">
|
---|
224 | <title>Contents</title>
|
---|
225 |
|
---|
226 | <segmentedlist>
|
---|
227 | <segtitle>Installed Programs</segtitle>
|
---|
228 | <segtitle>Installed Libraries</segtitle>
|
---|
229 | <segtitle>Installed Directories</segtitle>
|
---|
230 |
|
---|
231 | <seglistitem>
|
---|
232 | <seg>fcron, fcrondyn, fcronsighup, and fcrontab</seg>
|
---|
233 | <seg>None</seg>
|
---|
234 | <seg>/usr/share/doc/fcron-&fcron-version; and /var/spool/fcron</seg>
|
---|
235 | </seglistitem>
|
---|
236 | </segmentedlist>
|
---|
237 |
|
---|
238 | <variablelist>
|
---|
239 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
240 | <?dbfo list-presentation="list"?>
|
---|
241 | <?dbhtml list-presentation="table"?>
|
---|
242 |
|
---|
243 | <varlistentry id="fcron-prog">
|
---|
244 | <term><command>fcron</command></term>
|
---|
245 | <listitem>
|
---|
246 | <para>is the scheduling daemon.</para>
|
---|
247 | <indexterm zone="fcron fcron-prog">
|
---|
248 | <primary sortas="b-fcron">fcron</primary>
|
---|
249 | </indexterm>
|
---|
250 | </listitem>
|
---|
251 | </varlistentry>
|
---|
252 |
|
---|
253 | <varlistentry id="fcrondyn">
|
---|
254 | <term><command>fcrondyn</command></term>
|
---|
255 | <listitem>
|
---|
256 | <para>is a user tool intended to interact with a running
|
---|
257 | <command>fcron</command> daemon.</para>
|
---|
258 | <indexterm zone="fcron fcrondyn">
|
---|
259 | <primary sortas="b-fcrondyn">fcrondyn</primary>
|
---|
260 | </indexterm>
|
---|
261 | </listitem>
|
---|
262 | </varlistentry>
|
---|
263 |
|
---|
264 | <varlistentry id="fcronsighup">
|
---|
265 | <term><command>fcronsighup</command></term>
|
---|
266 | <listitem>
|
---|
267 | <para>instructs <command>fcron</command> to reread the
|
---|
268 | <application>Fcron</application> tables.</para>
|
---|
269 | <indexterm zone="fcron fcronsighup">
|
---|
270 | <primary sortas="b-fcronsighup">fcronsighup</primary>
|
---|
271 | </indexterm>
|
---|
272 | </listitem>
|
---|
273 | </varlistentry>
|
---|
274 |
|
---|
275 | <varlistentry id="fcrontab">
|
---|
276 | <term><command>fcrontab</command></term>
|
---|
277 | <listitem>
|
---|
278 | <para>is a program used to install, edit, list and remove the
|
---|
279 | tables used by <command>fcron</command>.</para>
|
---|
280 | <indexterm zone="fcron fcrontab">
|
---|
281 | <primary sortas="b-fcrontab">fcrontab</primary>
|
---|
282 | </indexterm>
|
---|
283 | </listitem>
|
---|
284 | </varlistentry>
|
---|
285 |
|
---|
286 | </variablelist>
|
---|
287 |
|
---|
288 | </sect2>
|
---|
289 |
|
---|
290 | </sect1>
|
---|