Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 1999 10:04:58 -0500 (EST)
From:      Bill Vermillion <bill@bilver.magicnet.net>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: cron does not work!
Message-ID:  <199901261504.KAA18791@bilver.magicnet.net>
In-Reply-To: <199901261316.VAA10517@dns.hgs.com.cn> from xiyuan qian at "Jan 26, 99 09:16:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
xiyuan qian recently said:

> Hi, my cron daemon suddenly does not work. I checked the processes
> and found that the cron daemon was running. But it do not run the
> /etc/crontab.

> My crontab file is as followings:

> 
> # /etc/crontab - root's crontab for FreeBSD
> #
> # $Id: crontab,v 1.13 1996/01/06 22:21:37 ache Exp $
> # From: Id: crontab,v 1.6 1993/05/31 02:03:57 cgd Exp
> #

>From my crontab -l   I see this.

:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.AYIlQX4391 installed on Mon Jan  4 10:52:46 1999)
# (Cron version -- $Id: crontab.c,v 1.6.2.3 1998/03/09 11:42:00 jkh Exp $)
#set up environment variables
#

You'll notice the version is much later, and it is in
/var/cron/tabs.  

cron says it is supposed to run /etc/crontab if the mod time was
changed, but I've always just run the daily/weekly/monthly thingies
from /etc/crontab and everything else goes in the named crontabs.

Try the crontab -e and see what happens.

Bill

-- 
bill@bilver.magicnet.net | bv@wjv.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901261504.KAA18791>