The Fcron package contains a periodical command scheduler which aims at replacing Vixie Cron.
This package is known to build and work properly using an LFS-7.10 platform.
Download (HTTP): http://fcron.free.fr/archives/fcron-3.2.0.src.tar.gz
Download MD5 sum: 4b031c2fba32a98fa814d1557158b0e9
Download size: 584 KB
Estimated disk space required: 5.1 MB
Estimated build time: 0.1 SBU
An MTA, text editor (default is vi from the Vim-7.4 package), Linux-PAM-1.3.0, and DocBook-utils-0.6.14
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fcron
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 --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --without-sendmail \ --with-boot-install=no && make
This package does not come with a test suite.
Now, as the root
user:
make install
DESTDIR install must be done as root
user.
--without-sendmail
: By
default, Fcron will attempt to use
the sendmail command
from an MTA package to
email you the results of the fcron script. This switch is used
to disable default email notification. Omit the switch to enable
the default. Alternatively, you can use the --with-sendmail=
to use a different mailer command.
</path/to/MTA command>
--with-boot-install=no
:
This prevents installation of the bootscript included with the
package.
--with-editor=
:
This switch allows you to set the default text editor.
</path/to/editor>
--with-dsssl-dir=
:
May be used if you have DocBook-utils-0.6.14 installed.
Currently, the dsssl stylesheets are located at </path/to/dsssl-stylesheets>
/usr/share/sgml/docbook/dsssl-stylesheets-1.79
.
There are no required changes in any of the config files.
Configuration information can be found in the man page for
fcron.conf
.
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 existing /etc/pam.conf
file. You should ensure the files
match your preferences. Modify them as required to suit your
needs.
Last updated on 2016-08-27 12:04:03 -0700