Difference between revisions of "Vixie-Cron"

From CBLFS
Jump to navigationJump to search
(Configuring)
(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)
 
(3 intermediate revisions by 2 users not shown)
Line 75: Line 75:
 
== Configuring ==
 
== Configuring ==
  
The files /etc/fcron.allow and /etc/fcron.deny determine which users are authorized to use cron.
+
The files /etc/cron.allow and /etc/cron.deny determine which users are authorized to use cron.
  
 
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.
Line 106: Line 106:
 
|
 
|
 
|}
 
|}
 +
 +
[[Category:General Utilities]]

Latest revision as of 02:05, 6 September 2009

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