source: general/sysutils/fcron.xml@ 35f3cb4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 35f3cb4 was a663951, checked in by Igor Živković <igor@…>, 19 years ago

Updated to Fcron-2.9.6.

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

  • Property mode set to 100644
File size: 8.4 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[d409f3a]7<!ENTITY fcron-download-http "http://fcron.free.fr/archives/fcron-&fcron-version;.src.tar.gz">
[52d29f7]8<!ENTITY fcron-download-ftp "ftp://ftp.seul.org/pub/fcron/fcron-&fcron-version;.src.tar.gz">
[a663951]9<!ENTITY fcron-md5sum "f408960f4c08ad377e61531ca48669bb">
10<!ENTITY fcron-size "397 KB">
[d409f3a]11<!ENTITY fcron-buildsize "3.4 MB">
[52d29f7]12<!ENTITY fcron-time "0.10 SBU">
13]>
14
[5c5cdbc]15<sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
[a0f03b0]16<sect1info>
[5cd0959d]17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
[a0f03b0]19</sect1info>
[7f72cbf]20<?dbhtml filename="fcron.html"?>
[1586494]21<title><application>Fcron</application>-&fcron-version;</title>
[ae7f265]22<indexterm zone="fcron">
[a819181]23<primary sortas="a-Fcron">Fcron</primary></indexterm>
[f45b1953]24
[52d29f7]25<sect2>
26<title>Introduction to <application>Fcron</application></title>
[1586494]27
[52d29f7]28<para>The <application>Fcron</application> package contains a periodical
29command scheduler which aims at replacing <application>Vixie
30Cron</application>.</para>
[1586494]31
[52d29f7]32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
[1586494]34<listitem><para>Download (HTTP):
35<ulink url="&fcron-download-http;"/></para></listitem>
36<listitem><para>Download (FTP):
37<ulink url="&fcron-download-ftp;"/></para></listitem>
[a31d341d]38<listitem><para>Download MD5 sum: &fcron-md5sum;</para></listitem>
[52d29f7]39<listitem><para>Download size: &fcron-size;</para></listitem>
[1586494]40<listitem><para>Estimated disk space required:
41&fcron-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&fcron-time;</para></listitem></itemizedlist>
[52d29f7]44</sect3>
[1586494]45
[52d29f7]46<sect3><title><application>Fcron</application> dependencies</title>
47<sect4><title>Optional</title>
[1586494]48<para><ulink url="../server/mail.html">MTA</ulink>,
[52d29f7]49<xref linkend="Linux_PAM"/>,
50<ulink url="http://www.nsa.gov/selinux/">SELinux</ulink>,
[d9384404]51<xref linkend="docbook-utils"/> and
[d409f3a]52<ulink url="../postlfs/editors.html">a text editor</ulink> (default is
[28badf4]53<xref linkend="vim"/>)</para>
[1586494]54</sect4>
[52d29f7]55</sect3>
[1586494]56
[52d29f7]57</sect2>
58
59<sect2>
60<title>Installation of <application>Fcron</application></title>
[1586494]61
[ae7f265]62<para id="fcron-syslog"><application>Fcron</application> uses the cron facility
63of <command>syslog</command> to log all messages. Since <acronym>LFS</acronym>
[1586494]64does not set up this facility in <filename>/etc/syslog.conf</filename>, it
65needs to be done prior to installing <application>Fcron</application>. This
66command will append the necessary line to the current
67<filename>/etc/syslog.conf</filename>:</para>
[ae7f265]68<indexterm zone="fcron fcron-syslog">
69<primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary></indexterm>
[1586494]70
[52d29f7]71<screen><userinput><command>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
72# Begin fcron addition to /etc/syslog.conf
[1586494]73
[52d29f7]74cron.* -/var/log/cron.log
[1586494]75
[52d29f7]76# End fcron addition
77EOF</command></userinput></screen>
[1586494]78
[52d29f7]79<para>The configuration file has been modified, so reloading the
80<command>sysklogd</command> daemon will activate the changes.</para>
[1586494]81
[52d29f7]82<screen><userinput><command>/etc/rc.d/init.d/sysklogd reload</command></userinput></screen>
[1586494]83
84<para>For security reasons, an unprivileged user and group for
85<application>Fcron</application> should be created:</para>
86
[52d29f7]87<screen><userinput><command>groupadd fcron &amp;&amp;
[1586494]88useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false fcron</command></userinput></screen>
89
90<para>Install <application>Fcron</application> by running the following
91commands:</para>
[52d29f7]92
93<screen><userinput><command>./configure --without-sendmail --with-answer-all=no &amp;&amp;
[ae7f265]94make</command></userinput></screen>
95
[a663951]96<para>This package does not come with a test suite.</para>
97
[ae7f265]98<para>Now, as the root user:</para>
99
100<screen><userinput role='root'><command>make install</command></userinput></screen>
[1586494]101
[52d29f7]102</sect2>
103
104<sect2>
105<title>Command explanations</title>
[1586494]106
[ae7f265]107<para><parameter>--without-sendmail</parameter>:
108<application>Fcron</application> will use an installed <acronym>MTA</acronym>
109to email you the results of the <command>fcron</command> script. Omit the
110switch and use
111<parameter>--with-sendmail=<replaceable>[/path/to/MTA]</replaceable></parameter>
112if you wish to utilize this feature.</para>
[1586494]113
[52d29f7]114<para><parameter>--with-answer-all=no</parameter>: After the files are
115installed, the <command>make install</command> script enters into a
[1586494]116configuration routine. The first test will be whether to install a boot
117script in the <filename class="directory">/etc/rc.d/init.d</filename>
118directory with the appropriate symbolic links in run levels 2, 3, 4, and 5.
[ae7f265]119The second is to stop any current <command>fcron</command> processes and start
120a new one. Since this is probably your first install and a boot script based
121upon the <acronym>BLFS</acronym> template is desired, answer 'n' to both
122tests.</para>
[1586494]123
[52d29f7]124</sect2>
125
126<sect2>
127<title>Configuring <application>Fcron</application></title>
[1586494]128
[ae7f265]129<sect3 id="fcron-config"><title>Config files</title>
[52d29f7]130<para><filename>/etc/fcron.conf</filename>,
[1586494]131<filename>/etc/fcron.allow</filename> and
[52d29f7]132<filename>/etc/fcron.deny</filename></para>
[ae7f265]133<indexterm zone="fcron fcron-config">
134<primary sortas="e-etc-fcron.conf">/etc/fcron.conf</primary></indexterm>
135<indexterm zone="fcron fcron-config">
136<primary sortas="e-etc-fcron.allow">/etc/fcron.allow</primary></indexterm>
137<indexterm zone="fcron fcron-config">
138<primary sortas="e-etc-fcron.deny">/etc/fcron.deny</primary></indexterm>
[52d29f7]139</sect3>
[1586494]140
[52d29f7]141<sect3><title>Configuration Information</title>
142<para>There are no required changes in any of the config files.
143Configuration information can be found in the man page for
144<filename>fcron.conf</filename>.</para>
[1586494]145
146<para><command>fcron</command> scripts are written using
147<command>fcrontab</command>. Refer to the <command>fcrontab</command> man
148page for proper parameters to address your situation.</para>
149
[ae7f265]150<para id="fcron-init">Install the <filename>/etc/rc.d/init.d/fcron</filename>
[1586494]151init script from the <xref linkend="intro-important-bootscripts"/>
152package.</para>
[ae7f265]153<indexterm zone="fcron fcron-init">
154<primary sortas="f-fcron">fcron</primary></indexterm>
[1586494]155
[52d29f7]156<screen><userinput><command>make install-fcron</command></userinput></screen>
[1586494]157
[ae7f265]158<para id="fcron-pam">If <application>Linux-<acronym>PAM</acronym></application>
159is installed, two <acronym>PAM</acronym> configuration files are installed in
160<filename class='directory'>/etc/pam.d</filename>. Alternatively if
161<filename class='directory'>/etc/pam.d</filename> is not used, the installation
162will append two configuration sections to the exiting
163<filename>/etc/pam.conf</filename> file. You should ensure the files match your
164preferences. Modify them as required to suit your needs.</para>
165<indexterm zone="fcron fcron-pam">
166<primary sortas="e-etc-pam.d">/etc/pam.d/*</primary></indexterm>
167<indexterm zone="fcron fcron-pam">
168<primary sortas="e-etc-pam.conf">/etc/pam.conf</primary></indexterm>
[52d29f7]169</sect3>
[1586494]170
[52d29f7]171</sect2>
172
173<sect2>
174<title>Contents</title>
[1586494]175
[ae7f265]176<segmentedlist>
177<segtitle>Installed Programs</segtitle>
178<segtitle>Installed Libraries</segtitle>
179<segtitle>Installed Directories</segtitle>
180
181<seglistitem>
182<seg>fcron, fcrondyn, fcronsighup and fcrontab</seg>
183<seg>None</seg>
184<seg>/usr/share/doc/fcron-&fcron-version; and /var/spool/fcron</seg>
185</seglistitem>
186</segmentedlist>
187
188<variablelist>
189<bridgehead renderas="sect3">Short Descriptions</bridgehead>
190<?dbfo list-presentation="list"?>
191
192<varlistentry id="fcron-prog">
193<term><command>fcron</command></term>
194<listitem><para>is the scheduling daemon.</para>
195<indexterm zone="fcron fcron-prog">
196<primary sortas="b-fcron">fcron</primary>
197</indexterm></listitem>
198</varlistentry>
199
200<varlistentry id="fcrondyn">
201<term><command>fcrondyn</command></term>
202<listitem><para>is a user tool intended to interact with a running
203<command>fcron</command> daemon.</para>
204<indexterm zone="fcron fcrondyn">
205<primary sortas="b-fcrondyn">fcrondyn</primary>
206</indexterm></listitem>
207</varlistentry>
208
209<varlistentry id="fcronsighup">
210<term><command>fcronsighup</command></term>
211<listitem><para>instructs <command>fcron</command> to reread the
212<application>Fcron</application> tables.</para>
213<indexterm zone="fcron fcronsighup">
214<primary sortas="b-fcronsighup">fcronsighup</primary>
215</indexterm></listitem>
216</varlistentry>
217
218<varlistentry id="fcrontab">
219<term><command>fcrontab</command></term>
220<listitem><para>is a program used to install, edit, list and remove the
221tables used by <command>fcron</command>.</para>
222<indexterm zone="fcron fcrontab">
223<primary sortas="b-fcrontab">fcrontab</primary>
224</indexterm></listitem>
225</varlistentry>
226</variablelist>
[1586494]227
[52d29f7]228</sect2>
[f45b1953]229
230</sect1>
Note: See TracBrowser for help on using the repository browser.