xref: /freebsd/usr.sbin/cron/doc/README (revision fe590ffe40f49fe09d8275fbf29f0d46c5b99dc7)
1*fe590ffeSEric van Gyzen#/* Copyright 1988,1990,1993 by Paul Vixie <paul@vix.com>
284f33deaSJordan K. Hubbard# * All rights reserved
384f33deaSJordan K. Hubbard# */
484f33deaSJordan K. Hubbard
5*fe590ffeSEric van Gyzen## Copyright (c) 1997 by Internet Software Consortium.
6*fe590ffeSEric van Gyzen##
7*fe590ffeSEric van Gyzen## Permission to use, copy, modify, and distribute this software for any
8*fe590ffeSEric van Gyzen## purpose with or without fee is hereby granted, provided that the above
9*fe590ffeSEric van Gyzen## copyright notice and this permission notice appear in all copies.
10*fe590ffeSEric van Gyzen##
11*fe590ffeSEric van Gyzen## THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
12*fe590ffeSEric van Gyzen## ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
13*fe590ffeSEric van Gyzen## OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
14*fe590ffeSEric van Gyzen## CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
15*fe590ffeSEric van Gyzen## DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
16*fe590ffeSEric van Gyzen## PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
17*fe590ffeSEric van Gyzen## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
18*fe590ffeSEric van Gyzen## SOFTWARE.
19*fe590ffeSEric van Gyzen
20*fe590ffeSEric van GyzenVixie Cron V4.0 - September 7, 1997
21*fe590ffeSEric van Gyzen[V3.1 was some time after 1993]
22*fe590ffeSEric van Gyzen[V3.0 was December 27, 1993]
2384f33deaSJordan K. Hubbard[V2.2 was some time in 1992]
2484f33deaSJordan K. Hubbard[V2.1 was May 29, 1991]
2584f33deaSJordan K. Hubbard[V2.0 was July 5, 1990]
2684f33deaSJordan K. Hubbard[V2.0-beta was December 9, 1988]
2784f33deaSJordan K. Hubbard[V1.0 was May 6, 1987]
2884f33deaSJordan K. HubbardPaul Vixie
2984f33deaSJordan K. Hubbard
30*fe590ffeSEric van GyzenThis is a version of 'cron' that is known to run on most systems.  It
3184f33deaSJordan K. Hubbardis functionally based on the SysV cron, which means that each user can have
3284f33deaSJordan K. Hubbardtheir own crontab file (all crontab files are stored in a read-protected
3384f33deaSJordan K. Hubbarddirectory, usually /var/cron/tabs).  No direct support is provided for
3484f33deaSJordan K. Hubbard'at'; you can continue to run 'atrun' from the crontab as you have been
3584f33deaSJordan K. Hubbarddoing.  If you don't have atrun (i.e., System V) you are in trouble.
3684f33deaSJordan K. Hubbard
3784f33deaSJordan K. HubbardA messages is logged each time a command is executed; also, the files
3884f33deaSJordan K. Hubbard"allow" and "deny" in /var/cron can be used to control access to the
3984f33deaSJordan K. Hubbard"crontab" command (which installs crontabs).  It hasn't been tested on
4084f33deaSJordan K. HubbardSysV, although some effort has gone into making the port an easy one.
4184f33deaSJordan K. Hubbard
4284f33deaSJordan K. HubbardTo use this: Sorry, folks, there is no cutesy 'Configure' script.  You'll
4384f33deaSJordan K. Hubbardhave to go edit a couple of files... So, here's the checklist:
4484f33deaSJordan K. Hubbard
4584f33deaSJordan K. Hubbard	Read all the FEATURES, INSTALL, and CONVERSION files
4684f33deaSJordan K. Hubbard	Edit config.h
4784f33deaSJordan K. Hubbard	Edit Makefile
4884f33deaSJordan K. Hubbard		(both of these files have instructions inside; note that
4984f33deaSJordan K. Hubbard		 some things in config.h are definable in Makefile and are
5084f33deaSJordan K. Hubbard		 therefore surrounded by #ifndef...#endif)
5184f33deaSJordan K. Hubbard	'make'
5284f33deaSJordan K. Hubbard	'su' and 'make install'
5384f33deaSJordan K. Hubbard		(you may have to install the man pages by hand)
5484f33deaSJordan K. Hubbard	kill your existing cron process
5584f33deaSJordan K. Hubbard		(actually you can run your existing cron if you want, but why?)
5684f33deaSJordan K. Hubbard	build new crontabs using /usr/lib/{crontab,crontab.local}
5784f33deaSJordan K. Hubbard		(either put them all in "root"'s crontab, or divide it up
5884f33deaSJordan K. Hubbard		 and rip out all the 'su' commands, collapse the lengthy
5984f33deaSJordan K. Hubbard		 lists into ranges with steps -- basically, this step is
6084f33deaSJordan K. Hubbard		 as much work as you want to make it)
6184f33deaSJordan K. Hubbard	start up the new cron
6284f33deaSJordan K. Hubbard		(must be done as root)
6384f33deaSJordan K. Hubbard	watch it. test it with 'crontab -r' and watch the daemon track your
6484f33deaSJordan K. Hubbard		changes.
6584f33deaSJordan K. Hubbard	if you like it, change your /etc/{rc,rc.local} to use it instead of
6684f33deaSJordan K. Hubbard		the old one.
6784f33deaSJordan K. Hubbard
68*fe590ffeSEric van Gyzen$Id: README,v 1.2 1998/08/14 00:32:35 vixie Exp $
69