2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of fcron</title>
|
|
|
|
|
|
|
|
<para>Fcron uses the cron facility of syslog to log all messages. Since LFS
|
2003-04-10 06:30:49 +08:00
|
|
|
does not set up this facility in <filename>/etc/syslog.conf</filename>, it needs to be done prior
|
2002-07-08 04:28:42 +08:00
|
|
|
to installing fcron. This command will append the necessary line to the
|
|
|
|
current <filename>/etc/syslog.conf</filename>.</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>cat >> /etc/syslog.conf << "EOF"</userinput>
|
|
|
|
# Begin fcron addition to /etc/syslog.conf
|
|
|
|
|
|
|
|
cron.* -/var/log/cron.log
|
|
|
|
|
|
|
|
# End fcron addition
|
|
|
|
<userinput>EOF</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>The configuration file has been modified, so reloading the sysklogd
|
|
|
|
daemon will activate the changes.</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Install fcron by running the following commands:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>./configure &&
|
2002-11-08 00:27:00 +08:00
|
|
|
make &&
|
2002-07-08 04:28:42 +08:00
|
|
|
make install</userinput></screen></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
|
|
|
|
<title>Install fcron without MTA </title>
|
|
|
|
|
|
|
|
<para>Fcron does not require a mail transfer agent (MTA) to run, but will
|
|
|
|
use one if it is installed to email you the results of the fcron script. If
|
|
|
|
you wish to install without a MTA, run the following commands:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>./configure --without-sendmail &&
|
2002-11-08 00:27:00 +08:00
|
|
|
make &&
|
2002-07-08 04:28:42 +08:00
|
|
|
make install</userinput></screen></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|