source: general/sysutils/fcron.xml@ 34a72e5f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 34a72e5f was 34a72e5f, checked in by Thomas Trepl <thomas@…>, 11 years ago

Removed text about the patch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11000 af4574ff-66df-0310-9fd7-8a98e5e911e0

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