From owner-freebsd-questions@FreeBSD.ORG Mon Sep 20 17:44:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1983316A4CE for ; Mon, 20 Sep 2004 17:44:23 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id C26DE43D5D for ; Mon, 20 Sep 2004 17:44:22 +0000 (GMT) (envelope-from ababurko@adelphia.net) Received: from ample.adelphia.net ([24.52.224.96]) by mta9.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040920174422.LMPB2583.mta9.adelphia.net@ample.adelphia.net> for ; Mon, 20 Sep 2004 13:44:22 -0400 Message-Id: <5.2.1.1.0.20040920133747.01d5a458@mail.dc2.adelphia.net> X-Sender: ababurko@mail.dc2.adelphia.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Mon, 20 Sep 2004 13:44:21 -0400 To: freebsd-questions@freebsd.org From: Bob Ababurko Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: cron not running my command? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 17:44:23 -0000 Hey there- I am running FreeBSD 5.2.1 and I have a cron job running webalizer. The cron job seems to be running based on the log, but the data is not being updated in the directory. I do believe that I can say that the webalizer is configured correctly because if I run the command that is listed in cron by hand, the output is sent to the proper place. Here are some l0og entries and the crontab itself: europa# crontab -l 0 * * * * /etc/cron.daily/ntpdate.cron > /dev/null */5 * * * * /usr/sbin/webstats europa# tail /var/log/cron Sep 20 13:25:00 europa /usr/sbin/cron[51173]: (root) CMD (/usr/libexec/atrun) Sep 20 13:26:02 europa crontab[51199]: (root) LIST (root) Sep 20 13:30:00 europa /usr/sbin/cron[51274]: (root) CMD (/usr/libexec/atrun) Sep 20 13:30:00 europa /usr/sbin/cron[51273]: (root) CMD (/usr/sbin/webstats) Sep 20 13:33:00 europa /usr/sbin/cron[51332]: (operator) CMD (/usr/libexec/save-entropy) Sep 20 13:34:35 europa crontab[51387]: (root) LIST (root) Sep 20 13:35:00 europa /usr/sbin/cron[51394]: (root) CMD (/usr/libexec/atrun) Sep 20 13:35:00 europa /usr/sbin/cron[51393]: (root) CMD (/usr/sbin/webstats) Sep 20 13:40:00 europa /usr/sbin/cron[51468]: (root) CMD (/usr/libexec/atrun) Sep 20 13:40:00 europa /usr/sbin/cron[51467]: (root) CMD (/usr/sbin/webstats) I am confused on where I should look now. Any suggestions would be appreciated. /bob