From owner-freebsd-questions Thu May 4 19:55:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (fw2.wilsonandhorton.co.nz [203.99.66.4]) by hub.freebsd.org (Postfix) with ESMTP id 6A59B37B730 for ; Thu, 4 May 2000 19:55:30 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.9.3/8.9.3) id OAA01267; Fri, 5 May 2000 14:54:29 +1200 (NZST) (envelope-from jonc) Date: Fri, 5 May 2000 14:54:29 +1200 From: Jonathan Chen To: Doug Young Cc: freebsd-questions@freebsd.org Subject: Re: "bad day_of_the_month" (yes really !!!) cron questions Message-ID: <20000505145429.B798@jonc.itouch.co.nz> References: <018e01bfb62c$58481b00$847e03cb@ROADRUNNER> <20000505131420.A798@jonc.itouch.co.nz> <01aa01bfb632$612c3390$847e03cb@ROADRUNNER> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <01aa01bfb632$612c3390$847e03cb@ROADRUNNER>; from dougy@gargoyle.apana.org.au on Fri, May 05, 2000 at 01:34:00AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, May 05, 2000 at 01:34:00AM +0000, Doug Young wrote: > > > > > > I then tried running "crontab crontab", but that just told me > > > "crontab":0: bad day_of_month > > > crontab: errors in crontab file, can't install > > > > This tends to indicate an error in your crontab file format. If you > > send it to the list, betcha we can find out what it is. > > attached hereto ...... nothing peculiar I can see, and I did try running > the > commands on a few different machines too, some 3.2 & some 4.0, exactly same > response every time > > (See attached file: crontab) Hang on there, you've just attached a binary executable! I hope you're not trying to feed *that* to crontab(1). You need to have a file having the contents with something like: # # Personal crontab # # Environment PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/jonc/bin # #Min Hr MnDy Month WkDy Command */5 6-20 * * * fetchmail --silent > /dev/null 2>&1 and feed that file to crontab(1). -- Jonathan Chen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message