source: general/sysutils/fcron.xml@ 7ad652c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 7ad652c was 7ad652c, checked in by Thomas Trepl <thomas@…>, 11 years ago

Use upstream fixes

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

  • Property mode set to 100644
File size: 10.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 "230b91f308e6012957a3a71a94f03838">
10 <!ENTITY fcron-size "583 KB">
11 <!ENTITY fcron-buildsize "3.6 MB">
12 <!ENTITY fcron-time "0.1 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 &lfs72_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&fcron-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&fcron-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &fcron-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &fcron-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &fcron-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &fcron-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>
64 Required patch:
65 <ulink url="&patch-root;/fcron-&fcron-version;-sendmail_upstream-1.patch"/>
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">Fcron Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional">An <xref linkend="server-mail"/>,
74 <ulink url="../postlfs/editors.html">text editor</ulink> (default is
75 <command>vi</command> from the <xref linkend="vim"/> package),
76 <xref linkend="linux-pam"/>,
77 <xref linkend="docbook-utils"/>
78 </para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/fcron"/></para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of Fcron</title>
87
88 <para id="fcron-syslog"><application>Fcron</application> uses the cron facility
89 of <command>syslog</command> to log all messages. Since LFS
90 does not set up this facility in <filename>/etc/syslog.conf</filename>, it
91 needs to be done prior to installing <application>Fcron</application>. This
92 command will append the necessary line to the current
93 <filename>/etc/syslog.conf</filename> (perform as the
94 <systemitem class='username'>root</systemitem> user):</para>
95
96 <indexterm zone="fcron fcron-syslog">
97 <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>
98 </indexterm>
99
100<screen role="root"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
101<literal># Begin fcron addition to /etc/syslog.conf
102
103cron.* -/var/log/cron.log
104
105# End fcron addition</literal>
106EOF</userinput></screen>
107
108 <para>The configuration file has been modified, so reloading the
109 <command>sysklogd</command> daemon will activate the changes (again as the
110 <systemitem class='username'>root</systemitem> user).</para>
111
112<screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
113
114 <para>For security reasons, an unprivileged user and group for
115 <application>Fcron</application> should be created (perform as the
116 <systemitem class='username'>root</systemitem> user):</para>
117
118<screen role="root"><userinput>groupadd -g 22 fcron &amp;&amp;
119useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22 fcron</userinput></screen>
120
121 <para>Install <application>Fcron</application> by running the following
122 commands:</para>
123
124<screen><userinput>patch -Np1 -i ../fcron-&fcron-version;-sendmail_upstream-1.patch &amp;&amp;
125autoconf &amp;&amp;
126./configure --prefix=/usr --sysconfdir=/etc \
127 --localstatedir=/var --without-sendmail --with-boot-install=no \
128 --with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
129make</userinput></screen>
130
131 <para>This package does not come with a test suite.</para>
132
133 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
134
135<screen role="root"><userinput>make install</userinput></screen>
136
137 </sect2>
138
139 <sect2 role="commands">
140 <title>Command Explanations</title>
141
142 <para><command>patch -Np1 -i fcron...</command>: The current <application>fcron</application>
143 does not handle the <parameter>--without-sendmail</parameter> correctly. This patch fixes
144 the <filename>configure.in</filename> and a few other sources. The <command>autoconf</command>
145 is required to rebuild <filename>configure</filename> using the fixed input file.</para>
146
147 <para><parameter>--without-sendmail</parameter>: By default,
148 <application>Fcron</application> will attempt to use the
149 <command>sendmail</command> command from an <xref linkend="server-mail"/>
150 package to email you the results of the <command>fcron</command> script.
151 This switch is used to disable default email notification. Omit the switch
152 to enable the default. Alternatively, you can use the
153 <option>--with-sendmail=<replaceable>&lt;/path/to/MTA
154 command&gt;</replaceable></option> to use a different mailer command.</para>
155
156 <para><parameter>--with-boot-install=no</parameter>: This prevents installation
157 of the bootscript included with the package.</para>
158
159 <para><option>--with-editor=<replaceable>&lt;/path/to/editor&gt;</replaceable></option>:
160 This switch allows you to set the default text editor.</para>
161
162 <para><option>--with-dsssl-dir=<replaceable>&lt;/path/to/dsssl-stylesheets&gt;</replaceable></option>:
163 Avoid a warning message about not finding the DSSSL stylesheets.</para>
164
165 </sect2>
166
167 <sect2 role="configuration">
168 <title>Configuring Fcron</title>
169
170 <sect3 id="fcron-config">
171 <title>Config Files</title>
172
173 <para><filename>/etc/fcron.conf</filename>,
174 <filename>/etc/fcron.allow</filename>, and
175 <filename>/etc/fcron.deny</filename></para>
176
177 <indexterm zone="fcron fcron-config">
178 <primary sortas="e-etc-fcron.conf">/etc/fcron.conf</primary>
179 </indexterm>
180
181 <indexterm zone="fcron fcron-config">
182 <primary sortas="e-etc-fcron.allow">/etc/fcron.allow</primary>
183 </indexterm>
184
185 <indexterm zone="fcron fcron-config">
186 <primary sortas="e-etc-fcron.deny">/etc/fcron.deny</primary>
187 </indexterm>
188
189 </sect3>
190
191 <sect3>
192 <title>Configuration Information</title>
193
194 <para>There are no required changes in any of the config files.
195 Configuration information can be found in the man page for
196 <filename>fcron.conf</filename>.</para>
197
198 <para><command>fcron</command> scripts are written using
199 <command>fcrontab</command>. Refer to the <command>fcrontab</command> man
200 page for proper parameters to address your situation.</para>
201
202 <para id="fcron-pam">If <application>Linux-PAM</application>
203 is installed, two PAM configuration files are installed in
204 <filename class='directory'>/etc/pam.d</filename>. Alternatively if
205 <filename class='directory'>/etc/pam.d</filename> is not used, the installation
206 will append two configuration sections to the existing
207 <filename>/etc/pam.conf</filename> file. You should ensure the files match your
208 preferences. Modify them as required to suit your needs.</para>
209
210 <indexterm zone="fcron fcron-pam">
211 <primary sortas="e-etc-pam.d">/etc/pam.d/*</primary>
212 </indexterm>
213
214 <indexterm zone="fcron fcron-pam">
215 <primary sortas="e-etc-pam.conf">/etc/pam.conf</primary>
216 </indexterm>
217
218 </sect3>
219
220 <sect3 id="fcron-init">
221 <title>Boot Script</title>
222
223 <para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
224 init script from the <xref linkend="bootscripts"/>
225 package.</para>
226
227 <indexterm zone="fcron fcron-init">
228 <primary sortas="f-fcron">fcron</primary>
229 </indexterm>
230
231<screen role="root"><userinput>make install-fcron</userinput></screen>
232
233 </sect3>
234
235 </sect2>
236
237 <sect2 role="content">
238 <title>Contents</title>
239
240 <segmentedlist>
241 <segtitle>Installed Programs</segtitle>
242 <segtitle>Installed Libraries</segtitle>
243 <segtitle>Installed Directories</segtitle>
244
245 <seglistitem>
246 <seg>fcron, fcrondyn, fcronsighup, and fcrontab</seg>
247 <seg>None</seg>
248 <seg>/usr/share/doc/fcron-&fcron-version; and /var/spool/fcron</seg>
249 </seglistitem>
250 </segmentedlist>
251
252 <variablelist>
253 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
254 <?dbfo list-presentation="list"?>
255 <?dbhtml list-presentation="table"?>
256
257 <varlistentry id="fcron-prog">
258 <term><command>fcron</command></term>
259 <listitem>
260 <para>is the scheduling daemon.</para>
261 <indexterm zone="fcron fcron-prog">
262 <primary sortas="b-fcron">fcron</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="fcrondyn">
268 <term><command>fcrondyn</command></term>
269 <listitem>
270 <para>is a user tool intended to interact with a running
271 <command>fcron</command> daemon.</para>
272 <indexterm zone="fcron fcrondyn">
273 <primary sortas="b-fcrondyn">fcrondyn</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="fcronsighup">
279 <term><command>fcronsighup</command></term>
280 <listitem>
281 <para>instructs <command>fcron</command> to reread the
282 <application>Fcron</application> tables.</para>
283 <indexterm zone="fcron fcronsighup">
284 <primary sortas="b-fcronsighup">fcronsighup</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="fcrontab">
290 <term><command>fcrontab</command></term>
291 <listitem>
292 <para>is a program used to install, edit, list and remove the
293 tables used by <command>fcron</command>.</para>
294 <indexterm zone="fcron fcrontab">
295 <primary sortas="b-fcrontab">fcrontab</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 </variablelist>
301
302 </sect2>
303
304</sect1>
Note: See TracBrowser for help on using the repository browser.