Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!lll-lcc!ptsfa!nonvon!apn
From: apn@nonvon.UUCP (apn)
Newsgroups: comp.unix.questions
Subject: Re: Comments in /usr/lib/crontab
Message-ID: <1408@nonvon.UUCP>
Date: Wed, 24-Dec-86 21:23:57 EST
Article-I.D.: nonvon.1408
Posted: Wed Dec 24 21:23:57 1986
Date-Received: Thu, 25-Dec-86 02:46:58 EST
References: <306@baskin.UUCP>
Organization: NONVON Systems Computer Research Group
Lines: 45
Keywords: Is it possible?
Summary: Comments in /usr/lib/crontab

In article <306@baskin.UUCP>, wmk@baskin.UUCP (Bill Kules) writes:
> We are running UTX/32 (a 4.2bsd port) on a Gould computer.  Since our
> crontab file is getting fairly large, I'd like to put comments in it.
> Comments are not mentioned in our documentation (cron(8)), so I'm
> asking the net... Is this possible, and if so what is the format?
> 

I don't know how portable this is, but it seems to work on my system
which is a 4.2bsd/v7 hybrid.

Precede comment line with a # character.. There may be a less restricted
syntax ( i.e. ![0-9\*] }

for example, an excerpt from my crontab file:


0,10,20,30,40,50 * * * * ( /usr/lib/atrun )
#------------------------------------------------------------------------------
# Run the calendar utility for those of us who have cal
# 20 1 * * * /bin/calendar -
#------------------------------------------------------------------------------
# Weekly uucp cleanup
30 5 * * 6 ( /usr/lib/uucp/uudemon.wk ) >>/usr/adm/uudemon.wk.clg 2>&1
#------------------------------------------------------------------------------
# Daily uucp cleanup
10 4 * * * ( /usr/lib/uucp/uudemon.day ) >>/usr/adm/uudemon.day.clg 2>&1
#------------------------------------------------------------------------------


...etc


-- 

	UUCP:   ihnp4!ptsfa!nonvon!apn

		100 Drakes Landing Road
		GreenBrae, CA 94904
		+1 415 461 4655

{* War does not determine who is right or wrong........ only who is left   *}
{* Only those who attempt the absurd   ...   will achieve the impossible   *}
{* I think... I think it's in my basement... Let me go upstairs and check. *}
{*                                                      -escher            *}
{* System down for P.M. until further notice                               *}