From owner-freebsd-questions Sun Jan 28 12:50:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tiger.ciberlynx.net (ns2.ciberlynx.net [216.242.0.3]) by hub.freebsd.org (Postfix) with ESMTP id 050D237B400 for ; Sun, 28 Jan 2001 12:49:56 -0800 (PST) Received: from localhost (wjm@localhost) by tiger.ciberlynx.net (8.9.3/8.9.3) with ESMTP id PAA24220; Sun, 28 Jan 2001 15:49:45 -0500 Date: Sun, 28 Jan 2001 15:49:45 -0500 (EST) From: "wjm@ciberlynx.net" To: Jason Hunt Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cron job not running.. In-Reply-To: <3A721D2A.37548A4C@blaz.niinet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG First I'd include the "MAILTO=user" at the beginning of your crontfile. That way you'll get an email sent to you which may very well define your problem. Second I'd make sure to include the "PATH=" statement within your script or just put in absolute paths to desired programs. I'd First enable the MAILTO statement and see what errors get sent to you. ./Bill On Fri, 26 Jan 2001, Jason Hunt wrote: > I have a cron job setup in freebsd that is not being > executed for some reason. I have used them time and time > again in linux and on other bsd systems, but for some > reason this is not executing -- there is nothing wrong > with the path/executable. Here is what I have in > /var/cron/tabs/roo# logcheck > > > 0 * * * * /usr/local/etc/logcheck/logcheck.sh > # seti@home > 0 * * * * cd /root/setiathome ; ./setiathome -nice 19 > /dev/null 2> > /dev/null > # date & time > 0 * * * * /usr/sbin/ntpdate clock.isc.org > /dev/null 2> /dev/null > > the top one doesn't seem to be running. I just added it > today and even sent a HUP to cron. I really do not want > to reboot in order to get this working.. not sure whats going > on here.. am I am missing something? > > I can type /usr/local/etc/logcheck/logcheck.sh and the > program does what it suppose to. at a lost. any help > would be apprecated. thanks. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message