From owner-freebsd-questions@FreeBSD.ORG Sat Aug 9 12:15:56 2003 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 C2E0437B401 for ; Sat, 9 Aug 2003 12:15:56 -0700 (PDT) Received: from hsph.harvard.edu (hsph.harvard.edu [128.103.75.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DC7643FDD for ; Sat, 9 Aug 2003 12:15:56 -0700 (PDT) (envelope-from pzhang@hsph.harvard.edu) Received: from localhost (pzhang@localhost) by hsph.harvard.edu (8.11.7+Sun/8.11.7) with ESMTP id h79JFsj10651 for ; Sat, 9 Aug 2003 15:15:54 -0400 (EDT) Date: Sat, 9 Aug 2003 15:15:54 -0400 (EDT) From: Peng Zhang To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: about cron (newbie question) 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: Sat, 09 Aug 2003 19:15:57 -0000 Hi folks, I don't know what is wrong with the cron on my computer. I am running freebsd 4.8 stable. The /etc/crontab file in my computer is: # /etc/crontab - root's crontab for FreeBSD # # $FreeBSD: src/etc/crontab,v 1.21.2.3 2000/12/08 10:56:07 obrien Exp $ # SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin HOME=/var/log # #minute hour mday month wday who command # */5 * * * * root /usr/libexec/atrun # # rotate log files every hour, if necessary 0 * * * * root newsyslog # # do daily/weekly/monthly maintenance 1 3 * * * root periodic daily 15 4 * * 6 root periodic weekly 30 5 1 * * root periodic monthly # # time zone change adjustment for wall cmos clock, # does nothing, if you have UTC cmos clock. # See adjkerntz(8) for details. 1,31 0-5 * * * root adjkerntz -a Then I typed command "crontab /etc/crontab". However I received the following mail: >From root@pzhang.harvard.edu Sat Aug 9 15:00:01 2003 Date: Sat, 9 Aug 2003 15:00:00 -0400 (EDT) From: root@pzhang.harvard.edu (Cron Daemon) To: root@pzhang.harvard.edu Subject: Cron root /usr/libexec/atrun X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: root: not found Can somebody tell me how to deal with it? Thanks, Peng