Date: Fri, 5 May 2000 14:54:29 +1200 From: Jonathan Chen <Jonathan.Chen@itouch.co.nz> To: Doug Young <dougy@gargoyle.apana.org.au> Cc: freebsd-questions@freebsd.org Subject: Re: "bad day_of_the_month" (yes really !!!) cron questions Message-ID: <20000505145429.B798@jonc.itouch.co.nz> In-Reply-To: <01aa01bfb632$612c3390$847e03cb@ROADRUNNER>; from dougy@gargoyle.apana.org.au on Fri, May 05, 2000 at 01:34:00AM %2B0000 References: <018e01bfb62c$58481b00$847e03cb@ROADRUNNER> <20000505131420.A798@jonc.itouch.co.nz> <01aa01bfb632$612c3390$847e03cb@ROADRUNNER>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000505145429.B798>
