1 | <sect2>
|
---|
2 | <title>Installation of fcron</title>
|
---|
3 |
|
---|
4 | <para>Fcron uses the cron facility of syslog to log all messages. Since LFS
|
---|
5 | does not set up this facility in /etc/syslog.conf, it needs to be done prior
|
---|
6 | to installing fcron. This command will append the necessary line to the
|
---|
7 | current <filename>/etc/syslog.conf</filename>.</para>
|
---|
8 |
|
---|
9 | <para><screen><userinput>cat >> /etc/syslog.conf << "EOF"</userinput>
|
---|
10 | # Begin fcron addition to /etc/syslog.conf
|
---|
11 |
|
---|
12 | cron.* -/var/log/cron.log
|
---|
13 |
|
---|
14 | # End fcron addition
|
---|
15 | <userinput>EOF</userinput></screen></para>
|
---|
16 |
|
---|
17 | <para>The configuration file has been modified, so reloading the sysklogd
|
---|
18 | daemon will activate the changes.</para>
|
---|
19 |
|
---|
20 | <para><screen><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen></para>
|
---|
21 |
|
---|
22 | <para>Install fcron by running the following commands:</para>
|
---|
23 |
|
---|
24 | <para><screen><userinput>./configure &&
|
---|
25 | make CC="gcc $CFLAGS" &&
|
---|
26 | make install</userinput></screen></para>
|
---|
27 |
|
---|
28 | </sect2>
|
---|
29 |
|
---|
30 | <sect2>
|
---|
31 |
|
---|
32 | <title>Install fcron without MTA </title>
|
---|
33 |
|
---|
34 | <para>Fcron does not require a mail transfer agent (MTA) to run, but will
|
---|
35 | use one if it is installed to email you the results of the fcron script. If
|
---|
36 | you wish to install without a MTA, run the following commands:</para>
|
---|
37 |
|
---|
38 | <para><screen><userinput>./configure --without-sendmail &&
|
---|
39 | make CC="gcc $CFLAGS" &&
|
---|
40 | make install</userinput></screen></para>
|
---|
41 |
|
---|
42 | </sect2>
|
---|
43 |
|
---|