source: general/sysutils/fcron.xml@ 501fe151

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 501fe151 was c1968e6, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Fcron-3.1.3 (remove not working ftp) gegl-0.2.0 and babl-0.1.10 (fix URL's). Archive (comment out) XML::Parser. lm_sensors-3.3.5: Remove ftp URL and add one patch for fancontrol and for sensors.conf.default. Archive-Zip: Fix URL.

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

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