source: general/sysutils/fcron.xml@ 448900a5

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 448900a5 was 448900a5, checked in by Igor Živković <igor@…>, 19 years ago

Updated to Fcron-3.0.0.

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

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