Installation of fcron
Fcron uses the cron facility of syslog to log all messages. Since LFS
does not set up this facility in /etc/syslog.conf, it needs to be done prior
to installing fcron. This command will append the necessary line to the
current /etc/syslog.conf.
cat >> /etc/syslog.conf << "EOF"
# Begin fcron addition to /etc/syslog.conf
cron.* -/var/log/cron.log
# End fcron addition
EOF
The configuration file has been modified, so reloading the sysklogd
daemon will activate the changes.
/etc/rc.d/init.d/sysklogd reload
Install fcron by running the following commands:
./configure &&
make CC="gcc $CFLAGS" &&
make install
Install fcron without MTA
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:
./configure --without-sendmail &&
make CC="gcc $CFLAGS" &&
make install