source: general/sysutils/fcron.xml@ 28badf4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.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 28badf4 was 28badf4, checked in by Larry Lawrence <larry@…>, 19 years ago

reformat vim

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

  • Property mode set to 100644
File size: 6.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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 "bf39dcef6d0c452f167f5a31a1231e4e">
10<!ENTITY fcron-size "390 KB">
11<!ENTITY fcron-buildsize "3.4 MB">
12<!ENTITY fcron-time "0.10 SBU">
13]>
14
15<sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="fcron.html"?>
21<title><application>Fcron</application>-&fcron-version;</title>
22
23<sect2>
24<title>Introduction to <application>Fcron</application></title>
25
26<para>The <application>Fcron</application> package contains a periodical
27command scheduler which aims at replacing <application>Vixie
28Cron</application>.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP):
33<ulink url="&fcron-download-http;"/></para></listitem>
34<listitem><para>Download (FTP):
35<ulink url="&fcron-download-ftp;"/></para></listitem>
36<listitem><para>Download MD5 sum: &fcron-md5sum;</para></listitem>
37<listitem><para>Download size: &fcron-size;</para></listitem>
38<listitem><para>Estimated disk space required:
39&fcron-buildsize;</para></listitem>
40<listitem><para>Estimated build time:
41&fcron-time;</para></listitem></itemizedlist>
42</sect3>
43
44<sect3><title><application>Fcron</application> dependencies</title>
45<sect4><title>Optional</title>
46<para><ulink url="../server/mail.html">MTA</ulink>,
47<xref linkend="Linux_PAM"/>,
48<ulink url="http://www.nsa.gov/selinux/">SELinux</ulink>,
49<xref linkend="docbook-utils"/> and
50<ulink url="../postlfs/editors.html">a text editor</ulink> (default is
51<xref linkend="vim"/>)</para>
52</sect4>
53</sect3>
54
55</sect2>
56
57<sect2>
58<title>Installation of <application>Fcron</application></title>
59
60<para><application>Fcron</application> uses the cron facility of
61<command>syslog</command> to log all messages. Since <acronym>LFS</acronym>
62does not set up this facility in <filename>/etc/syslog.conf</filename>, it
63needs to be done prior to installing <application>Fcron</application>. This
64command will append the necessary line to the current
65<filename>/etc/syslog.conf</filename>:</para>
66
67<screen><userinput><command>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
68# Begin fcron addition to /etc/syslog.conf
69
70cron.* -/var/log/cron.log
71
72# End fcron addition
73EOF</command></userinput></screen>
74
75<para>The configuration file has been modified, so reloading the
76<command>sysklogd</command> daemon will activate the changes.</para>
77
78<screen><userinput><command>/etc/rc.d/init.d/sysklogd reload</command></userinput></screen>
79
80<para>For security reasons, an unprivileged user and group for
81<application>Fcron</application> should be created:</para>
82
83<screen><userinput><command>groupadd fcron &amp;&amp;
84useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false fcron</command></userinput></screen>
85
86<para>Install <application>Fcron</application> by running the following
87commands:</para>
88
89<screen><userinput><command>./configure --without-sendmail --with-answer-all=no &amp;&amp;
90make &amp;&amp;
91make install</command></userinput></screen>
92
93</sect2>
94
95<sect2>
96<title>Command explanations</title>
97
98<para><parameter>--without-sendmail</parameter>: <application>Fcron</application>
99will use an installed <acronym>MTA</acronym> to email you the results of the
100<command>fcron</command> script. Omit the switch if you wish to utilize
101this feature.</para>
102
103<para><parameter>--with-answer-all=no</parameter>: After the files are
104installed, the <command>make install</command> script enters into a
105configuration routine. The first test will be whether to install a boot
106script in the <filename class="directory">/etc/rc.d/init.d</filename>
107directory with the appropriate symbolic links in run levels 2, 3, 4, and 5.
108The second is to stop any current fcron processes and start a new one. Since
109this is probably your first install and a boot script based upon the
110<acronym>BLFS</acronym> template is desired, answer 'n' to both tests.</para>
111
112</sect2>
113
114<sect2>
115<title>Configuring <application>Fcron</application></title>
116
117<sect3><title>Config files</title>
118
119<para><filename>/etc/fcron.conf</filename>,
120<filename>/etc/fcron.allow</filename> and
121<filename>/etc/fcron.deny</filename></para>
122
123</sect3>
124
125<sect3><title>Configuration Information</title>
126
127<para>There are no required changes in any of the config files.
128Configuration information can be found in the man page for
129<filename>fcron.conf</filename>.</para>
130
131<para><command>fcron</command> scripts are written using
132<command>fcrontab</command>. Refer to the <command>fcrontab</command> man
133page for proper parameters to address your situation.</para>
134
135<para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
136init script from the <xref linkend="intro-important-bootscripts"/>
137package.</para>
138
139<screen><userinput><command>make install-fcron</command></userinput></screen>
140
141</sect3>
142
143</sect2>
144
145<sect2>
146<title>Contents</title>
147
148<para>The <application>Fcron</application> package contains
149<command>fcron</command>, <command>fcrontab</command>,
150<command>fcronsighup</command> and <command>fcrondyn</command>.</para>
151
152</sect2>
153
154<sect2><title>Description</title>
155
156<sect3><title>fcron</title>
157<para><command>fcron</command> is the scheduling daemon.</para></sect3>
158
159<sect3><title>fcrontab</title>
160<para><command>fcrontab</command> is the program used to install, edit, list
161and remove the tables used by <command>fcron</command>.</para></sect3>
162
163<sect3><title>fcronsighup</title>
164<para><command>fcronsighup</command> instructs <command>fcron</command> to
165reread the fcron tables.</para></sect3>
166
167<sect3><title>fcrondyn</title>
168<para><command>fcrondyn</command> is a user tool intended to interact with a
169running <command>fcron</command> daemon.</para></sect3>
170
171</sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.