source: general/sysutils/fcron.xml@ e1df6e21

gnome
Last change on this file since e1df6e21 was 201fca3d, checked in by Christopher Gregory <cjg@…>, 10 years ago

Added systemd notes to fcron gpm sysstat and udev-extras pages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/gnome@13395 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 11.3 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 <note>
90 <para>
91 Systemd logging daemon, systemd-journald will automatically log
92 all the messages from the services started by systemd, so the initial
93 configuration for this package related to syslog is not required if using
94 this package in systemd environment.
95 </para>
96 </note>
97
98 <para id="fcron-syslog"><application>Fcron</application> uses the cron facility
99 of <command>syslog</command> to log all messages. Since LFS
100 does not set up this facility in <filename>/etc/syslog.conf</filename>, it
101 needs to be done prior to installing <application>Fcron</application>. This
102 command will append the necessary line to the current
103 <filename>/etc/syslog.conf</filename> (perform as the
104 <systemitem class='username'>root</systemitem> user):</para>
105
106 <indexterm zone="fcron fcron-syslog">
107 <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>
108 </indexterm>
109
110<screen role="root"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
111<literal># Begin fcron addition to /etc/syslog.conf
112
113cron.* -/var/log/cron.log
114
115# End fcron addition</literal>
116EOF</userinput></screen>
117
118 <para>The configuration file has been modified, so reloading the
119 <command>sysklogd</command> daemon will activate the changes (again as the
120 <systemitem class='username'>root</systemitem> user).</para>
121
122<screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
123
124 <para>For security reasons, an unprivileged user and group for
125 <application>Fcron</application> should be created (perform as the
126 <systemitem class='username'>root</systemitem> user):</para>
127
128<screen role="root"><userinput>groupadd -g 22 fcron &amp;&amp;
129useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22 fcron</userinput></screen>
130
131 <para>Install <application>Fcron</application> by running the following
132 commands:</para>
133
134<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
135 --localstatedir=/var --without-sendmail --with-boot-install=no &amp;&amp;
136make</userinput></screen>
137
138 <para>This package does not come with a test suite.</para>
139
140 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
141
142<screen role="root"><userinput>make install</userinput></screen>
143
144 <para>DESTDIR install must be done as <systemitem class="username">root</systemitem> user.</para>
145
146 </sect2>
147
148 <sect2 role="commands">
149 <title>Command Explanations</title>
150<!--
151 <para><command>autoconf</command>: This command is required to rebuild
152 <filename>configure</filename> using the fixed input file.</para>-->
153
154 <para><parameter>--without-sendmail</parameter>: By default,
155 <application>Fcron</application> will attempt to use the
156 <command>sendmail</command> command from an <xref linkend="server-mail"/>
157 package to email you the results of the <command>fcron</command> script.
158 This switch is used to disable default email notification. Omit the switch
159 to enable the default. Alternatively, you can use the
160 <option>--with-sendmail=<replaceable>&lt;/path/to/MTA
161 command&gt;</replaceable></option> to use a different mailer command.</para>
162
163 <para><parameter>--with-boot-install=no</parameter>: This prevents installation
164 of the bootscript included with the package.</para>
165
166 <para><option>--with-editor=<replaceable>&lt;/path/to/editor&gt;</replaceable></option>:
167 This switch allows you to set the default text editor.</para>
168<!--
169 <para><option>-with-dsssl-dir=<replaceable>&lt;/path/to/dsssl-stylesheets&gt;</replaceable></option>:
170 May be used in order to avoid a warning message about not finding the
171 DSSSL stylesheets.</para>-->
172
173 </sect2>
174
175 <sect2 role="configuration">
176 <title>Configuring Fcron</title>
177
178 <sect3 id="fcron-config">
179 <title>Config Files</title>
180
181 <para><filename>/etc/fcron.conf</filename>,
182 <filename>/etc/fcron.allow</filename>, and
183 <filename>/etc/fcron.deny</filename></para>
184
185 <indexterm zone="fcron fcron-config">
186 <primary sortas="e-etc-fcron.conf">/etc/fcron.conf</primary>
187 </indexterm>
188
189 <indexterm zone="fcron fcron-config">
190 <primary sortas="e-etc-fcron.allow">/etc/fcron.allow</primary>
191 </indexterm>
192
193 <indexterm zone="fcron fcron-config">
194 <primary sortas="e-etc-fcron.deny">/etc/fcron.deny</primary>
195 </indexterm>
196
197 </sect3>
198
199 <sect3>
200 <title>Configuration Information</title>
201
202 <para>There are no required changes in any of the config files.
203 Configuration information can be found in the man page for
204 <filename>fcron.conf</filename>.</para>
205
206 <para><command>fcron</command> scripts are written using
207 <command>fcrontab</command>. Refer to the <command>fcrontab</command> man
208 page for proper parameters to address your situation.</para>
209
210 <para id="fcron-pam">If <application>Linux-PAM</application>
211 is installed, two PAM configuration files are installed in
212 <filename class='directory'>/etc/pam.d</filename>. Alternatively if
213 <filename class='directory'>/etc/pam.d</filename> is not used, the installation
214 will append two configuration sections to the existing
215 <filename>/etc/pam.conf</filename> file. You should ensure the files match your
216 preferences. Modify them as required to suit your needs.</para>
217
218 <indexterm zone="fcron fcron-pam">
219 <primary sortas="e-etc-pam.d">/etc/pam.d/*</primary>
220 </indexterm>
221
222 <indexterm zone="fcron fcron-pam">
223 <primary sortas="e-etc-pam.conf">/etc/pam.conf</primary>
224 </indexterm>
225
226 </sect3>
227
228 <sect3 id="fcron-init">
229 <title>Boot Script</title>
230
231 <para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
232 init script from the <xref linkend="bootscripts"/>
233 package.</para>
234
235 <indexterm zone="fcron fcron-init">
236 <primary sortas="f-fcron">fcron</primary>
237 </indexterm>
238
239<screen role="root"><userinput>make install-fcron</userinput></screen>
240
241 </sect3>
242
243 <sect3 id="fcron-init-systemd">
244 <title>Systemd Unit File</title>
245
246 <para>
247 This package will automatically install the systemd unit file if systemd is detected.
248 To enable it, issue as the <systemitem class="username">root</systemitem> user:
249 </para>
250
251 <indexterm zone="fcron fcron-init-systemd">
252 <primary sortas="f-fcron">fcron</primary>
253 </indexterm>
254
255<screen role="root">
256<userinput>
257
258systemctl enable fcron
259
260</userinput></screen>
261
262 </sect3>
263
264 </sect2>
265
266 <sect2 role="content">
267 <title>Contents</title>
268
269 <segmentedlist>
270 <segtitle>Installed Programs</segtitle>
271 <segtitle>Installed Libraries</segtitle>
272 <segtitle>Installed Directories</segtitle>
273
274 <seglistitem>
275 <seg>fcron, fcrondyn, fcronsighup, and fcrontab</seg>
276 <seg>None</seg>
277 <seg>/usr/share/doc/fcron-&fcron-version; and /var/spool/fcron</seg>
278 </seglistitem>
279 </segmentedlist>
280
281 <variablelist>
282 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
283 <?dbfo list-presentation="list"?>
284 <?dbhtml list-presentation="table"?>
285
286 <varlistentry id="fcron-prog">
287 <term><command>fcron</command></term>
288 <listitem>
289 <para>is the scheduling daemon.</para>
290 <indexterm zone="fcron fcron-prog">
291 <primary sortas="b-fcron">fcron</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="fcrondyn">
297 <term><command>fcrondyn</command></term>
298 <listitem>
299 <para>is a user tool intended to interact with a running
300 <command>fcron</command> daemon.</para>
301 <indexterm zone="fcron fcrondyn">
302 <primary sortas="b-fcrondyn">fcrondyn</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="fcronsighup">
308 <term><command>fcronsighup</command></term>
309 <listitem>
310 <para>instructs <command>fcron</command> to reread the
311 <application>Fcron</application> tables.</para>
312 <indexterm zone="fcron fcronsighup">
313 <primary sortas="b-fcronsighup">fcronsighup</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="fcrontab">
319 <term><command>fcrontab</command></term>
320 <listitem>
321 <para>is a program used to install, edit, list and remove the
322 tables used by <command>fcron</command>.</para>
323 <indexterm zone="fcron fcrontab">
324 <primary sortas="b-fcrontab">fcrontab</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 </variablelist>
330
331 </sect2>
332
333</sect1>
Note: See TracBrowser for help on using the repository browser.