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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 7f5c97e was 7f5c97e, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Made all dependencies an a mail server actual cross-references.

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

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