Vixie-Cron

From CBLFS
Revision as of 02:05, 6 September 2009 by Oppiz (talk | contribs) (Undo revision 18795 by Weibullguy (Talk) What if I want a 32bit binary? Alot of work has gone into getting 32bit build. no need to remove)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: ftp://ftp.isc.org/isc/cron/cron_4.1.shar

Introduction to Vixie-Cron

Vixie-cron is Paul Vixie's implementation of cron.

Project Homepage: http://www.isc.org/index.pl

Creating the vxicron User & Group

groupadd -g 24 vxicron &&
useradd -c "Vixie cron User" -d /dev/null -u 24 -g vxicron -s /bin/false vxicron

Configuration Information

See files config.h and pathnames.h to configure Vixie cron for your environment.

Non-Multilib

Compile the package:

sed -i 's@/usr/ucb/vi@/usr/bin/vim@' pathnames.h &&
echo '#define CRON_GROUP "vxicron"' >> config.h &&
make

Install the package:

make install

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

sed -i 's@/usr/ucb/vi@/usr/bin/vim@' pathnames.h &&
echo '#define CRON_GROUP "vxicron"' >> config.h &&
sed -i 's/-Wno-comment/-Wno-comment ${BUILD32}/' Makefile && 
make

Install the package:

make install

N32

Compile the package:

sed -i 's@/usr/ucb/vi@/usr/bin/vim@' pathnames.h &&
echo '#define CRON_GROUP "vxicron"' >> config.h &&
sed -i 's/-Wno-comment/-Wno-comment ${BUILDN32}/' Makefile && 
make

Install the package:

make install

64Bit

Compile the package:

sed -i 's@/usr/ucb/vi@/usr/bin/vim@' pathnames.h &&
echo '#define CRON_GROUP "vxicron"' >> config.h &&
sed -i 's/-Wno-comment/-Wno-comment ${BUILD64}/' Makefile && 
make

Install the package:

make install

Configuring

The files /etc/cron.allow and /etc/cron.deny determine which users are authorized to use cron.

Install the bootscript for cron.

make install-fcron &&
sed -i 's/fcron/cron/g' /etc/rc.d/init.d/fcron

Contents

Installed Directories: None
Installed Programs: cron, crontab
Installed Libraries: None

Short Descriptions

cron
crontab