Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2000 13:14:20 +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:  <20000505131420.A798@jonc.itouch.co.nz>
In-Reply-To: <018e01bfb62c$58481b00$847e03cb@ROADRUNNER>; from dougy@gargoyle.apana.org.au on Fri, May 05, 2000 at 10:51:23AM %2B1000
References:  <018e01bfb62c$58481b00$847e03cb@ROADRUNNER>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 05, 2000 at 10:51:23AM +1000, Doug Young wrote:
> I'd like to have remote systems email a copy of various logs at to me at
> sheduled times, & I understand that "cron" is supposed to be capable of
> doing this. What I don't understand is exactly how to go about it.
> 
> I followed the instructions in Complete FreeBSD, and even  though there's a
> file "/usr/bin/crontab", when I run "crontab -l" I get a message "no crontab
> for root"
> Now this sounds weird, because I understood from "man cron" & "man crontab"
> that a bunch of processes are controlled from the root cron, so what gives
> here ??

There's root's crontab, and then there's the system's crontab. On a
fresh install, there are no crontabs for root; but there is a system
crontab in /etc/crontab.

The format for the personal crontab vs the system crontab differs. The
system has an extra run-as-user field.

> 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.

Cheers.
-- 
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?20000505131420.A798>