source: general/sysutils/fcron.xml@ 646c89d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 646c89d was ac1de6f, checked in by Thomas Trepl <thomas@…>, 6 years ago

Update lynx-2.8.9rel.1, fcron-3.2.1

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

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