source: general/sysutils/fcron.xml@ 5254d12

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 5254d12 was 5254d12, checked in by Randy McMurchy <randy@…>, 18 years ago

Standardized the id tag name of the Bootscripts package

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

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