source: general/sysutils/fcron.xml@ a2ed79b

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 a2ed79b was d9384404, checked in by Igor Živković <igor@…>, 20 years ago

Fixed Fcron's dependencies.

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

  • Property mode set to 100644
File size: 8.5 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="docbook-utils"/> and
42<xref linkend="postlfs-editors-vim"/>
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</sect2>
102
103<sect2>
104<title>Configuring <application>Fcron</application></title>
105
106<sect3><title>Config files</title>
107
108<para><filename>/etc/fcron.conf</filename>,
109<filename>/etc/fcron.allow</filename>,
110<filename>/etc/fcron.deny</filename></para>
111
112</sect3>
113
114<sect3><title>Configuration Information</title>
115
116<para>There are no required changes in any of the config files.
117Configuration information can be found in the man page for
118<filename>fcron.conf</filename>.</para>
119
120<para><command>fcron</command> scripts are written using <command>fcrontab</command>.
121Refer to the fcrontab man page for proper parameters to address your situation.</para>
122
123<para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
124init script from the <xref linkend="intro-important-bootscripts"/> package.</para>
125
126
127<screen><userinput><command>make install-fcron</command></userinput></screen>
128
129</sect3>
130
131</sect2>
132
133<sect2>
134<title>Contents</title>
135
136<para>The <application>Fcron</application> package contains
137<command>fcron</command>, <command>fcrontab</command>, <command>fcronsighup
138</command> and <command>fcrondyn.</command></para>
139
140</sect2>
141
142<sect2><title>Description</title>
143
144<sect3><title>fcron</title>
145<para><command>fcron</command> is the scheduling daemon.
146</para></sect3>
147
148<sect3><title>fcrontab</title>
149<para><command>fcrontab</command> is the program used to install, edit, list
150and remove the tables used by <command>fcron</command>.</para></sect3>
151
152<sect3><title>fcronsighup</title>
153<para><command>fcronsighup</command> instructs <command>fcron</command> to
154reread the fcron tables.</para></sect3>
155
156<sect3><title>fcrondyn</title>
157<para><command>fcrondyn</command> is a user tool intended to interact with a
158running <command>fcron</command> daemon.</para></sect3>
159
160</sect2>
161
162</sect1>
163
Note: See TracBrowser for help on using the repository browser.