The Fcron package contains a periodical command scheduler which aims at replacing Vixie Cron.
Download (HTTP): http://fcron.free.fr/archives/fcron-2.9.7.src.tar.gz
Download (FTP): ftp://ftp.seul.org/pub/fcron/fcron-2.9.7.src.tar.gz
Download MD5 sum: 9ead65bd13ea6a3278e167f88c572ddb
Download size: 409 KB
Estimated disk space required: 3.6 MB
Estimated build time: 0.10 SBU
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 (perform as the root user):
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 (again as the root user).
For security reasons, an unprivileged user and group for Fcron should be created (perform as the root user):
groupadd -g 22 fcron && useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22 fcron
Install Fcron by running the following commands:
./configure --without-sendmail --with-boot-install=no && make
This package does not come with a test suite.
Now, as the root user:
--without-sendmail: Fcron will use an installed MTA to email you the results of the fcron script. Omit the switch and use --with-sendmail=[/path/to/MTA] if you wish to utilize this feature.
--with-boot-install=no: This prevents installation of the bootscript included with the package.
There are no required changes in any of the config files. Configuration information can be found in the man page for fcron.conf.
The default text editor used is /usr/bin/vi, and this is installed by LFS.
fcron scripts are written using fcrontab. Refer to the fcrontab man page for proper parameters to address your situation.
If Linux-PAM is installed, two PAM configuration files are installed in /etc/pam.d. Alternatively if /etc/pam.d is not used, the installation will append two configuration sections to the exiting /etc/pam.conf file. You should ensure the files match your preferences. Modify them as required to suit your needs.
Install the /etc/rc.d/init.d/fcron init script from the blfs-bootscripts-6.1 package.
Last updated on 2005-08-01 13:29:19 -0600