Difference between revisions of "Vixie-Cron"

From CBLFS
Jump to navigationJump to search
(Hehe. Configure doesn't work without a configure script.)
(Configuring)
Line 79: Line 79:
 
Install the [http://cblfs.cross-lfs.org/index.php/Bootscripts bootscript] for cron.
 
Install the [http://cblfs.cross-lfs.org/index.php/Bootscripts bootscript] for cron.
  
  make install-fcron
+
  make install-fcron &&
 +
sed -i 's/fcron/cron/g' /etc/rc.d/init.d/fcron
  
 
== Contents ==
 
== Contents ==

Revision as of 19:39, 12 November 2007

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/fcron.allow and /etc/fcron.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