Date: Sun, 28 Jan 2001 15:49:45 -0500 (EST) From: "wjm@ciberlynx.net" <wjm@tiger.ciberlynx.net> To: Jason Hunt <jhunt@blaz.homeip.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cron job not running.. Message-ID: <Pine.LNX.4.10.10101281545360.20085-100000@tiger.ciberlynx.net> In-Reply-To: <3A721D2A.37548A4C@blaz.niinet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10101281545360.20085-100000>