source: general/sysutils/fcron.xml@ 8473ae72

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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 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 8473ae72 was 8473ae72, checked in by Igor Živković <igor@…>, 20 years ago

Fixed a typo in Fcron instructions.

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

  • Property mode set to 100644
File size: 8.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY fcron-download-http "http://fcron.free.fr/fcron-&fcron-version;.src.tar.gz">
8<!ENTITY fcron-download-ftp "ftp://ftp.seul.org/pub/fcron/fcron-&fcron-version;.src.tar.gz">
9<!ENTITY fcron-size "371 KB">
10<!ENTITY fcron-buildsize "2.7 MB">
11<!ENTITY fcron-time "0.10 SBU">
12
13]>
14
15<sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
16<?dbhtml filename="fcron.html"?>
17<title>Fcron-&fcron-version;</title>
18
19<sect2>
20<title>Introduction to <application>Fcron</application></title>
21
22<para>The <application>Fcron</application> package contains a periodical
23command scheduler which aims at replacing <application>Vixie
24Cron</application>.</para>
25
26<sect3><title>Package information</title>
27<itemizedlist spacing='compact'>
28<listitem><para>Download (HTTP): <ulink url="&fcron-download-http;"/></para></listitem>
29<listitem><para>Download (FTP): <ulink url="&fcron-download-ftp;"/></para></listitem>
30<listitem><para>Download size: &fcron-size;</para></listitem>
31<listitem><para>Estimated Disk space required: &fcron-buildsize;</para></listitem>
32<listitem><para>Estimated build time: &fcron-time;</para></listitem></itemizedlist>
33</sect3>
34
35<sect3><title><application>Fcron</application> dependencies</title>
36<sect4><title>Optional</title>
37<para>
38<ulink url="../server/mail.html">MTA</ulink>,
39<xref linkend="Linux_PAM"/>,
40<ulink url="http://www.nsa.gov/selinux/">SELinux</ulink>,
41<xref linkend="openjade"/> and
42<xref linkend="docbook-dsssl"/>
43</para></sect4>
44</sect3>
45
46</sect2>
47
48<sect2>
49<title>Installation of <application>Fcron</application></title>
50
51<para><application>Fcron</application> uses the cron facility of
52<command>syslog</command>
53to log all messages. Since <acronym>LFS</acronym> does not set up this
54facility in <filename>/etc/syslog.conf</filename>, it needs to be done
55prior to installing <application>Fcron</application>. This command will append
56the necessary line to the current <filename>/etc/syslog.conf</filename>:</para>
57<screen><userinput><command>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
58# Begin fcron addition to /etc/syslog.conf
59
60cron.* -/var/log/cron.log
61
62# End fcron addition
63EOF</command></userinput></screen>
64
65<para>The configuration file has been modified, so reloading the
66<command>sysklogd</command> daemon will activate the changes.</para>
67
68<screen><userinput><command>/etc/rc.d/init.d/sysklogd reload</command></userinput></screen>
69
70<para>For security reasons, we need to create an unprivileged user and
71group for <application>fcron</application>:</para>
72
73<screen><userinput><command>groupadd fcron &amp;&amp;
74useradd -d /dev/null -g fcron -s /bin/false fcron</command></userinput></screen>
75
76<para>Install <application>Fcron</application> by running the following commands:</para>
77
78<screen><userinput><command>./configure --without-sendmail --with-answer-all=no &amp;&amp;
79make &amp;&amp;
80make install</command></userinput></screen>
81
82</sect2>
83
84<sect2>
85<title>Command explanations</title>
86
87<para><option>--without-sendmail</option>: <application>Fcron</application>
88will use an iinstalled <acronym>MTA</acronym> to email you the results of the
89<command>fcron</command> script. If you wish to utilize this feature, change
90the switch to <parameter>--with-sendmail=<replaceable>[path to your
91MTA]</replaceable> </parameter>.</para>
92
93<para><parameter>--with-answer-all=no</parameter>: After the files are
94installed, the <command>make install</command> script enters into a
95configuration routine. The first test will be whether to install a boot script in the <filename class="directory">/etc/rc.d/init.d</filename> directory with
96the appropriate symbolic links in run levels 2, 3, 4, and 5. The second is to
97stop any current fcron processes and start a new one. Since this is probably
98your first install and we want a boot script based upon the
99<acronym>BLFS</acronym> template, we answer 'n' to both tests.</para>
100
101<para><parameter>--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;
102</parameter>: This switch can be added if you have installed
103<application>OpenJade</application> and dsssl-stylesheets to generate the
104documentation from the DocBook source files.</para>
105
106</sect2>
107
108<sect2>
109<title>Configuring <application>Fcron</application></title>
110
111<sect3><title>Config files</title>
112
113<para><filename>/etc/fcron.conf</filename>,
114<filename>/etc/fcron.allow</filename>,
115<filename>/etc/fcron.deny</filename></para>
116
117</sect3>
118
119<sect3><title>Configuration Information</title>
120
121<para>There are no required changes in any of the config files.
122Configuration information can be found in the man page for
123<filename>fcron.conf</filename>.</para>
124
125<para><command>fcron</command> scripts are written using <command>fcrontab</command>.
126Refer to the fcrontab man page for proper parameters to address your situation.</para>
127
128<para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
129init script from the <xref linkend="intro-important-bootscripts"/> package.</para>
130
131
132<screen><userinput><command>make install-fcron</command></userinput></screen>
133
134</sect3>
135
136</sect2>
137
138<sect2>
139<title>Contents</title>
140
141<para>The <application>Fcron</application> package contains
142<command>fcron</command>, <command>fcrontab</command>, <command>fcronsighup
143</command> and <command>fcrondyn.</command></para>
144
145</sect2>
146
147<sect2><title>Description</title>
148
149<sect3><title>fcron</title>
150<para><command>fcron</command> is the scheduling daemon.
151</para></sect3>
152
153<sect3><title>fcrontab</title>
154<para><command>fcrontab</command> is the program used to install, edit, list
155and remove the tables used by <command>fcron</command>.</para></sect3>
156
157<sect3><title>fcronsighup</title>
158<para><command>fcronsighup</command> instructs <command>fcron</command> to
159reread the fcron tables.</para></sect3>
160
161<sect3><title>fcrondyn</title>
162<para><command>fcrondyn</command> is a user tool intended to interact with a
163running <command>fcron</command> daemon.</para></sect3>
164
165</sect2>
166
167</sect1>
168
Note: See TracBrowser for help on using the repository browser.