source: general/sysutils/fcron.xml@ 12b202ed

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 12b202ed was 12b202ed, checked in by Richard Downing <richard@…>, 19 years ago

Update to fcron-2.9.7 and reword newsserver page

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

  • Property mode set to 100644
File size: 9.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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-md5sum "9ead65bd13ea6a3278e167f88c572ddb">
10 <!ENTITY fcron-size "409 KB">
11 <!ENTITY fcron-buildsize "3.6 MB">
12 <!ENTITY fcron-time "0.10 SBU">
13]>
14
15<sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
16 <?dbhtml filename="fcron.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Fcron-&fcron-version;</title>
24
25 <indexterm zone="fcron">
26 <primary sortas="a-Fcron">Fcron</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Fcron</title>
31
32 <para>The <application>Fcron</application> package contains a periodical
33 command scheduler which aims at replacing <application>Vixie
34 Cron</application>.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&fcron-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&fcron-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &fcron-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &fcron-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &fcron-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &fcron-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">Fcron Dependencies</bridgehead>
59
60 <bridgehead renderas="sect4">Required</bridgehead>
61 <para>A text editor (see Configuring Fcron)</para>
62
63 <bridgehead renderas="sect4">Optional</bridgehead>
64 <para><ulink url="../server/mail.html">MTA</ulink>,
65 <xref linkend="Linux_PAM"/>,
66 <ulink url="http://www.nsa.gov/selinux/">SELinux</ulink>,
67 <xref linkend="docbook-utils"/>
68 </para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of Fcron</title>
74
75 <para id="fcron-syslog"><application>Fcron</application> uses the cron facility
76 of <command>syslog</command> to log all messages. Since LFS
77 does not set up this facility in <filename>/etc/syslog.conf</filename>, it
78 needs to be done prior to installing <application>Fcron</application>. This
79 command will append the necessary line to the current
80 <filename>/etc/syslog.conf</filename> (perform as the
81 <systemitem class='username'>root</systemitem> user):</para>
82
83 <indexterm zone="fcron fcron-syslog">
84 <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>
85 </indexterm>
86
87<screen role="root"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
88<literal># Begin fcron addition to /etc/syslog.conf
89
90cron.* -/var/log/cron.log
91
92# End fcron addition</literal>
93EOF</userinput></screen>
94
95 <para>The configuration file has been modified, so reloading the
96 <command>sysklogd</command> daemon will activate the changes (again as the
97 <systemitem class='username'>root</systemitem> user).</para>
98
99<screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
100
101 <para>For security reasons, an unprivileged user and group for
102 <application>Fcron</application> should be created (perform as the
103 <systemitem class='username'>root</systemitem> user):</para>
104
105<screen role="root"><userinput>groupadd -g 22 fcron &amp;&amp;
106useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22 fcron</userinput></screen>
107
108 <para>Install <application>Fcron</application> by running the following
109 commands:</para>
110
111<screen><userinput>./configure --without-sendmail --with-boot-install=no &amp;&amp;
112make</userinput></screen>
113
114 <para>This package does not come with a test suite.</para>
115
116 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
117
118<screen role="root"><userinput>make install</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para><parameter>--without-sendmail</parameter>:
126 <application>Fcron</application> will use an installed MTA
127 to email you the results of the <command>fcron</command> script. Omit the
128 switch and use
129 <option>--with-sendmail=<replaceable>[/path/to/MTA]</replaceable></option>
130 if you wish to utilize this feature.</para>
131
132 <para><parameter>--with-boot-install=no</parameter>: This prevents installation
133 of the bootscript included with the package.</para>
134
135 </sect2>
136
137 <sect2 role="configuration">
138 <title>Configuring Fcron</title>
139
140 <sect3 id="fcron-config">
141 <title>Config Files</title>
142
143 <para><filename>/etc/fcron.conf</filename>,
144 <filename>/etc/fcron.allow</filename>, and
145 <filename>/etc/fcron.deny</filename></para>
146
147 <indexterm zone="fcron fcron-config">
148 <primary sortas="e-etc-fcron.conf">/etc/fcron.conf</primary>
149 </indexterm>
150
151 <indexterm zone="fcron fcron-config">
152 <primary sortas="e-etc-fcron.allow">/etc/fcron.allow</primary>
153 </indexterm>
154
155 <indexterm zone="fcron fcron-config">
156 <primary sortas="e-etc-fcron.deny">/etc/fcron.deny</primary>
157 </indexterm>
158
159 </sect3>
160
161 <sect3>
162 <title>Configuration Information</title>
163
164 <para>There are no required changes in any of the config files.
165 Configuration information can be found in the man page for
166 <filename>fcron.conf</filename>.</para>
167
168 <para>The default text editor used is <filename>/usr/bin/vi</filename>, and
169 this is installed by LFS.</para>
170
171 <para><command>fcron</command> scripts are written using
172 <command>fcrontab</command>. Refer to the <command>fcrontab</command> man
173 page for proper parameters to address your situation.</para>
174
175 <para id="fcron-pam">If <application>Linux-PAM</application>
176 is installed, two PAM configuration files are installed in
177 <filename class='directory'>/etc/pam.d</filename>. Alternatively if
178 <filename class='directory'>/etc/pam.d</filename> is not used, the installation
179 will append two configuration sections to the exiting
180 <filename>/etc/pam.conf</filename> file. You should ensure the files match your
181 preferences. Modify them as required to suit your needs.</para>
182
183 <indexterm zone="fcron fcron-pam">
184 <primary sortas="e-etc-pam.d">/etc/pam.d/*</primary>
185 </indexterm>
186
187 <indexterm zone="fcron fcron-pam">
188 <primary sortas="e-etc-pam.conf">/etc/pam.conf</primary>
189 </indexterm>
190
191 </sect3>
192
193 <sect3 id="fcron-init">
194 <title>Boot Script</title>
195
196 <para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
197 init script from the <xref linkend="intro-important-bootscripts"/>
198 package.</para>
199
200 <indexterm zone="fcron fcron-init">
201 <primary sortas="f-fcron">fcron</primary>
202 </indexterm>
203
204<screen role="root"><userinput>make install-fcron</userinput></screen>
205
206 </sect3>
207
208 </sect2>
209
210 <sect2 role="content">
211 <title>Contents</title>
212
213 <segmentedlist>
214 <segtitle>Installed Programs</segtitle>
215 <segtitle>Installed Libraries</segtitle>
216 <segtitle>Installed Directories</segtitle>
217
218 <seglistitem>
219 <seg>fcron, fcrondyn, fcronsighup, and fcrontab</seg>
220 <seg>None</seg>
221 <seg>/usr/share/doc/fcron-&fcron-version; and /var/spool/fcron</seg>
222 </seglistitem>
223 </segmentedlist>
224
225 <variablelist>
226 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
227 <?dbfo list-presentation="list"?>
228 <?dbhtml list-presentation="table"?>
229
230 <varlistentry id="fcron-prog">
231 <term><command>fcron</command></term>
232 <listitem>
233 <para>is the scheduling daemon.</para>
234 <indexterm zone="fcron fcron-prog">
235 <primary sortas="b-fcron">fcron</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="fcrondyn">
241 <term><command>fcrondyn</command></term>
242 <listitem>
243 <para>is a user tool intended to interact with a running
244 <command>fcron</command> daemon.</para>
245 <indexterm zone="fcron fcrondyn">
246 <primary sortas="b-fcrondyn">fcrondyn</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="fcronsighup">
252 <term><command>fcronsighup</command></term>
253 <listitem>
254 <para>instructs <command>fcron</command> to reread the
255 <application>Fcron</application> tables.</para>
256 <indexterm zone="fcron fcronsighup">
257 <primary sortas="b-fcronsighup">fcronsighup</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="fcrontab">
263 <term><command>fcrontab</command></term>
264 <listitem>
265 <para>is a program used to install, edit, list and remove the
266 tables used by <command>fcron</command>.</para>
267 <indexterm zone="fcron fcrontab">
268 <primary sortas="b-fcrontab">fcrontab</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 </variablelist>
274
275 </sect2>
276
277</sect1>
Note: See TracBrowser for help on using the repository browser.