User Tools

Site Tools


qLinux
… a distribution study


<< Prev
nfs-utils-2.6.1

Next >>
Popt-1.18


Fcron-3.2.1

Download: fcron-3.2.1.src.tar.gz. Fix the build system:

patch -Np1 -i fcron-3.2.1-bld-20220321.patch

Apply a patch to fix the sources:

patch -Np1 -i fcron-3.2.1-src-20220321.patch

Add a user and group:

groupadd -g 11 cron
useradd -g cron -d /qlnx/dev/null -s /qlnx/bin/nologin fcron

Configure the package:

./configure --prefix=/qlnx \
            --sbindir=/qlnx/bin \
            --datarootdir=/tmp \
            --mandir=/qlnx/man \
            --with-piddir=/qlnx/run \
            --with-spooldir=/qlnx/var/fcron \
            --with-fifodir=/qlnx/run \
            --with-proc=/qlnx/prc \
            --with-boot-install=no \
            --with-piddir=/qlnx/run \
            --with-groupname=cron \
            --with-sendmail=/qlnx/bin/false \
            --with-editor=/qlnx/bin/false

Build and install fcron.

make
make install

Change the mode of  fcron :

chmod 750 /qlnx/bin/fcron

Optional: as  fcron  runs as a daemon, change the name to  fcrond  (or create a symlink).


<< Prev
nfs-utils-2.6.1

Next >>
Popt-1.18