source: general/sysutils/fcron.xml@ ce4eef0

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 ce4eef0 was f968bfa, checked in by Igor Živković <igor@…>, 19 years ago

Updated to Fcron-2.9.5.1.

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

  • Property mode set to 100644
File size: 8.6 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/archives/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 "390 KB">
10<!ENTITY fcron-buildsize "3.4 MB">
11<!ENTITY fcron-time "0.10 SBU">
12
13]>
14
15<sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="fcron.html"?>
21<title>Fcron-&fcron-version;</title>
22
23<sect2>
24<title>Introduction to <application>Fcron</application></title>
25
26<para>The <application>Fcron</application> package contains a periodical
27command scheduler which aims at replacing <application>Vixie
28Cron</application>.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink url="&fcron-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink url="&fcron-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &fcron-size;</para></listitem>
35<listitem><para>Estimated disk space required: &fcron-buildsize;</para></listitem>
36<listitem><para>Estimated build time: &fcron-time;</para></listitem></itemizedlist>
37</sect3>
38
39<sect3><title><application>Fcron</application> dependencies</title>
40<sect4><title>Optional</title>
41<para>
42<ulink url="../server/mail.html">MTA</ulink>,
43<xref linkend="Linux_PAM"/>,
44<ulink url="http://www.nsa.gov/selinux/">SELinux</ulink>,
45<xref linkend="docbook-utils"/> and
46<ulink url="../postlfs/editors.html">a text editor</ulink> (default is
47<xref linkend="postlfs-editors-vim"/>)
48</para></sect4>
49</sect3>
50
51</sect2>
52
53<sect2>
54<title>Installation of <application>Fcron</application></title>
55
56<para><application>Fcron</application> uses the cron facility of
57<command>syslog</command>
58to log all messages. Since <acronym>LFS</acronym> does not set up this
59facility in <filename>/etc/syslog.conf</filename>, it needs to be done
60prior to installing <application>Fcron</application>. This command will append
61the necessary line to the current <filename>/etc/syslog.conf</filename>:</para>
62<screen><userinput><command>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
63# Begin fcron addition to /etc/syslog.conf
64
65cron.* -/var/log/cron.log
66
67# End fcron addition
68EOF</command></userinput></screen>
69
70<para>The configuration file has been modified, so reloading the
71<command>sysklogd</command> daemon will activate the changes.</para>
72
73<screen><userinput><command>/etc/rc.d/init.d/sysklogd reload</command></userinput></screen>
74
75<para>For security reasons, we need to create an unprivileged user and
76group for <application>fcron</application>:</para>
77
78<screen><userinput><command>groupadd fcron &amp;&amp;
79useradd -d /dev/null -g fcron -s /bin/false fcron</command></userinput></screen>
80
81<para>Install <application>Fcron</application> by running the following commands:</para>
82
83<screen><userinput><command>./configure --without-sendmail --with-answer-all=no &amp;&amp;
84make &amp;&amp;
85make install</command></userinput></screen>
86
87</sect2>
88
89<sect2>
90<title>Command explanations</title>
91
92<para><option>--without-sendmail</option>: <application>Fcron</application>
93will use an installed <acronym>MTA</acronym> to email you the results of the
94<command>fcron</command> script. If you wish to utilize this feature, change
95the switch to <parameter>--with-sendmail=<replaceable>[path to your
96MTA]</replaceable></parameter>.</para>
97
98<para><parameter>--with-answer-all=no</parameter>: After the files are
99installed, the <command>make install</command> script enters into a
100configuration 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
101the appropriate symbolic links in run levels 2, 3, 4, and 5. The second is to
102stop any current fcron processes and start a new one. Since this is probably
103your first install and we want a boot script based upon the
104<acronym>BLFS</acronym> template, we answer 'n' to both tests.</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<screen><userinput><command>make install-fcron</command></userinput></screen>
132
133</sect3>
134
135</sect2>
136
137<sect2>
138<title>Contents</title>
139
140<para>The <application>Fcron</application> package contains
141<command>fcron</command>, <command>fcrontab</command>, <command>fcronsighup
142</command> and <command>fcrondyn.</command></para>
143
144</sect2>
145
146<sect2><title>Description</title>
147
148<sect3><title>fcron</title>
149<para><command>fcron</command> is the scheduling daemon.
150</para></sect3>
151
152<sect3><title>fcrontab</title>
153<para><command>fcrontab</command> is the program used to install, edit, list
154and remove the tables used by <command>fcron</command>.</para></sect3>
155
156<sect3><title>fcronsighup</title>
157<para><command>fcronsighup</command> instructs <command>fcron</command> to
158reread the fcron tables.</para></sect3>
159
160<sect3><title>fcrondyn</title>
161<para><command>fcrondyn</command> is a user tool intended to interact with a
162running <command>fcron</command> daemon.</para></sect3>
163
164</sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.