xref: /netbsd/external/bsd/cron/dist/README (revision 0061c6a5)
1*0061c6a5Schristos#/* Copyright 1988,1990,1993 by Paul Vixie
2*0061c6a5Schristos# * All rights reserved
3*0061c6a5Schristos# */
4*0061c6a5Schristos
5*0061c6a5Schristos##
6*0061c6a5Schristos## Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
7*0061c6a5Schristos## Copyright (c) 1997,2000 by Internet Software Consortium, Inc.
8*0061c6a5Schristos##
9*0061c6a5Schristos## Permission to use, copy, modify, and distribute this software for any
10*0061c6a5Schristos## purpose with or without fee is hereby granted, provided that the above
11*0061c6a5Schristos## copyright notice and this permission notice appear in all copies.
12*0061c6a5Schristos##
13*0061c6a5Schristos## THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
14*0061c6a5Schristos## WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
15*0061c6a5Schristos## MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
16*0061c6a5Schristos## ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
17*0061c6a5Schristos## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
18*0061c6a5Schristos## ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
19*0061c6a5Schristos## OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20*0061c6a5Schristos##
21*0061c6a5Schristos
22*0061c6a5SchristosISC Cron - January 2004
23*0061c6a5Schristos[V4.0 was November, 2000]
24*0061c6a5Schristos[V4.0b1 was September 7, 1997]
25*0061c6a5Schristos[V3.1 was some time after 1993]
26*0061c6a5Schristos[V3.0 was December 27, 1993]
27*0061c6a5Schristos[V2.2 was some time in 1992]
28*0061c6a5Schristos[V2.1 was May 29, 1991]
29*0061c6a5Schristos[V2.0 was July 5, 1990]
30*0061c6a5Schristos[V2.0-beta was December 9, 1988]
31*0061c6a5Schristos[V1.0 was May 6, 1987]
32*0061c6a5Schristosftp://ftp.isc.org/isc/cron/
33*0061c6a5Schristos
34*0061c6a5SchristosThis is a version of 'cron' that is known to run on most systems.  It
35*0061c6a5Schristosis functionally based on the SysV cron, which means that each user can have
36*0061c6a5Schristostheir own crontab file (all crontab files are stored in a read-protected
37*0061c6a5Schristosdirectory, usually /var/cron/tabs).  No direct support is provided for
38*0061c6a5Schristos'at'; you can continue to run 'atrun' from the crontab as you have been
39*0061c6a5Schristosdoing.  If you don't have atrun (i.e., System V) you are in trouble.
40*0061c6a5Schristos
41*0061c6a5SchristosA messages is logged each time a command is executed; also, the files
42*0061c6a5Schristos"allow" and "deny" in /var/cron can be used to control access to the
43*0061c6a5Schristos"crontab" command (which installs crontabs).  It hasn't been tested on
44*0061c6a5SchristosSysV, although some effort has gone into making the port an easy one.
45*0061c6a5Schristos
46*0061c6a5SchristosTo use this: Sorry, folks, there is no cutesy 'Configure' script.  You'll
47*0061c6a5Schristoshave to go edit a couple of files... So, here's the checklist:
48*0061c6a5Schristos
49*0061c6a5Schristos	Read all the FEATURES, INSTALL, and CONVERSION files
50*0061c6a5Schristos	Edit config.h
51*0061c6a5Schristos	Edit Makefile
52*0061c6a5Schristos		(both of these files have instructions inside; note that
53*0061c6a5Schristos		 some things in config.h are definable in Makefile and are
54*0061c6a5Schristos		 therefore surrounded by #ifndef...#endif)
55*0061c6a5Schristos	'make'
56*0061c6a5Schristos	'su' and 'make install'
57*0061c6a5Schristos		(you may have to install the man pages by hand)
58*0061c6a5Schristos	kill your existing cron process
59*0061c6a5Schristos		(actually you can run your existing cron if you want, but why?)
60*0061c6a5Schristos	build new crontabs using /usr/lib/{crontab,crontab.local}
61*0061c6a5Schristos		(either put them all in "root"'s crontab, or divide it up
62*0061c6a5Schristos		 and rip out all the 'su' commands, collapse the lengthy
63*0061c6a5Schristos		 lists into ranges with steps -- basically, this step is
64*0061c6a5Schristos		 as much work as you want to make it)
65*0061c6a5Schristos	start up the new cron
66*0061c6a5Schristos		(must be done as root)
67*0061c6a5Schristos	watch it. test it with 'crontab -r' and watch the daemon track your
68*0061c6a5Schristos		changes.
69*0061c6a5Schristos	if you like it, change your /etc/{rc,rc.local} to use it instead of
70*0061c6a5Schristos		the old one.
71*0061c6a5Schristos
72*0061c6a5SchristosId: README,v 1.6 2004/01/23 19:03:32 vixie Exp
73