1168404Spjd#/* Copyright 1988,1990,1993 by Paul Vixie
2168404Spjd# * All rights reserved
3168404Spjd# *
4168404Spjd# * Distribute freely, except: don't remove my name from the source or
5185029Spjd# * documentation (don't take credit for my work), mark your changes (don't
6185029Spjd# * get me blamed for your possible bugs), don't alter or remove this
7168404Spjd# * notice.  May be sold if buildable source is provided to buyer.  No
8168404Spjd# * warrantee of any kind, express or implied, is included with this
9168404Spjd# * software; use at your own risk, responsibility for damages (if any) to
10168404Spjd# * anyone resulting from the use of this software rests entirely with the
11168404Spjd# * user.
12168404Spjd# *
13168404Spjd# * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
14168404Spjd# * I'll try to keep a version up to date.  I can be reached as follows:
15168404Spjd# * Paul Vixie          <paul@vix.com>          uunet!decwrl!vixie!paul
16168404Spjd# */
17168404Spjd
18168404SpjdVixie Cron V3.0
19168404SpjdDecember 27, 1993
20168404Spjd[V2.2 was some time in 1992]
21168404Spjd[V2.1 was May 29, 1991]
22219089Spjd[V2.0 was July 5, 1990]
23236884Smm[V2.0-beta was December 9, 1988]
24168404Spjd[V1.0 was May 6, 1987]
25168404SpjdPaul Vixie
26219089Spjd
27185029SpjdThis is a version of 'cron' that is known to run on BSD 4.[23] systems.  It
28168404Spjdis functionally based on the SysV cron, which means that each user can have
29168404Spjdtheir own crontab file (all crontab files are stored in a read-protected
30219089Spjddirectory, usually /var/cron/tabs).  No direct support is provided for
31219089Spjd'at'; you can continue to run 'atrun' from the crontab as you have been
32168404Spjddoing.  If you don't have atrun (i.e., System V) you are in trouble.
33168404Spjd
34168404SpjdA messages is logged each time a command is executed; also, the files
35168404Spjd"allow" and "deny" in /var/cron can be used to control access to the
36168404Spjd"crontab" command (which installs crontabs).  It hasn't been tested on
37168404SpjdSysV, although some effort has gone into making the port an easy one.
38168404Spjd
39168404SpjdThis is more or less the copyright that USENET contributed software usually
40168404Spjdhas.  Since ATT couldn't use this version if they had to freely distribute
41168404Spjdsource, and since I'd love to see them use it, I'll offer some rediculously
42219089Spjdlow license fee just to have them take it.  In the unlikely event that they
43219089Spjddo this, I will continue to support and distribute the pseudo-PD version, so
44219089Spjdplease, don't flame me for wanting my work to see a wider distribution.
45219089Spjd
46219089SpjdTo use this: Sorry, folks, there is no cutesy 'Configure' script.  You'll
47219089Spjdhave to go edit a couple of files... So, here's the checklist:
48219089Spjd
49219089Spjd	Read all the FEATURES, INSTALL, and CONVERSION files
50219089Spjd	Edit config.h
51219089Spjd	Edit Makefile
52219089Spjd		(both of these files have instructions inside; note that
53219089Spjd		 some things in config.h are definable in Makefile and are
54219089Spjd		 therefore surrounded by #ifndef...#endif)
55219089Spjd	'make'
56219089Spjd	'su' and 'make install'
57219089Spjd		(you may have to install the man pages by hand)
58219089Spjd	kill your existing cron process
59219089Spjd		(actually you can run your existing cron if you want, but why?)
60219089Spjd	build new crontabs using /usr/lib/{crontab,crontab.local}
61219089Spjd		(either put them all in "root"'s crontab, or divide it up
62219089Spjd		 and rip out all the 'su' commands, collapse the lengthy
63219089Spjd		 lists into ranges with steps -- basically, this step is
64219089Spjd		 as much work as you want to make it)
65219089Spjd	start up the new cron
66219089Spjd		(must be done as root)
67219089Spjd	watch it. test it with 'crontab -r' and watch the daemon track your
68219089Spjd		changes.
69219089Spjd	if you like it, change your /etc/{rc,rc.local} to use it instead of
70219089Spjd		the old one.
71219089Spjd
72219089Spjd$FreeBSD$
73219089Spjd