Difference between revisions of "Vixie-Cron"

From CBLFS
Jump to navigationJump to search
(Added page)
 
(Hehe. Configure doesn't work without a configure script.)
Line 24: Line 24:
 
  sed -i 's@/usr/ucb/vi@/usr/bin/vim@' pathnames.h &&
 
  sed -i 's@/usr/ucb/vi@/usr/bin/vim@' pathnames.h &&
 
  echo '#define CRON_GROUP "vxicron"' >> config.h &&
 
  echo '#define CRON_GROUP "vxicron"' >> config.h &&
./configure --prefix=/usr &&
 
 
  make
 
  make
  
Line 42: Line 41:
 
  echo '#define CRON_GROUP "vxicron"' >> config.h &&
 
  echo '#define CRON_GROUP "vxicron"' >> config.h &&
 
  sed -i 's/-Wno-comment/-Wno-comment ${BUILD32}/' Makefile &&  
 
  sed -i 's/-Wno-comment/-Wno-comment ${BUILD32}/' Makefile &&  
./configure --prefix=/usr &&
 
 
  make
 
  make
  
Line 56: Line 54:
 
  echo '#define CRON_GROUP "vxicron"' >> config.h &&
 
  echo '#define CRON_GROUP "vxicron"' >> config.h &&
 
  sed -i 's/-Wno-comment/-Wno-comment ${BUILDN32}/' Makefile &&  
 
  sed -i 's/-Wno-comment/-Wno-comment ${BUILDN32}/' Makefile &&  
./configure --prefix=/usr --libdir=/usr/lib32 &&
 
 
  make
 
  make
  
Line 70: Line 67:
 
  echo '#define CRON_GROUP "vxicron"' >> config.h &&
 
  echo '#define CRON_GROUP "vxicron"' >> config.h &&
 
  sed -i 's/-Wno-comment/-Wno-comment ${BUILD64}/' Makefile &&  
 
  sed -i 's/-Wno-comment/-Wno-comment ${BUILD64}/' Makefile &&  
./configure --prefix=/usr --libdir=/usr/lib64 &&
 
 
  make
 
  make
  

Revision as of 20:37, 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

Contents

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

Short Descriptions

cron
crontab