source: general/sysutils/fcron.xml@ 1586494

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 1586494 was 1586494, checked in by Randy McMurchy <randy@…>, 17 years ago

Spelling, grammar, tag and excessive whitespace corrections to various package instructions

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

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