Difference between revisions of "Vixie-Cron"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) (Added page) |
(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) |
||
(5 intermediate revisions by 2 users not shown) | |||
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 && | ||
− | |||
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 && | ||
− | |||
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 && | ||
− | |||
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 && | ||
− | |||
make | make | ||
Line 79: | Line 75: | ||
== Configuring == | == Configuring == | ||
− | The files /etc/ | + | 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. | ||
− | make install-fcron | + | make install-fcron && |
+ | sed -i 's/fcron/cron/g' /etc/rc.d/init.d/fcron | ||
== Contents == | == Contents == | ||
Line 109: | Line 106: | ||
| | | | ||
|} | |} | ||
+ | |||
+ | [[Category:General Utilities]] |
Latest revision as of 01:05, 6 September 2009
Download Source: | ftp://ftp.isc.org/isc/cron/cron_4.1.shar |
---|
Contents
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 |