From owner-freebsd-questions Fri Sep 17 13:29:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6BC5514BDD for ; Fri, 17 Sep 1999 13:29:09 -0700 (PDT) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.8.8/8.8.8) with ESMTP id GAA06210; Fri, 17 Sep 1999 06:48:54 -0700 (PDT) (envelope-from bright@wintelcom.net) Date: Fri, 17 Sep 1999 13:48:54 +0000 (GMT) From: Alfred Perlstein To: Robin Huiser Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Cron keeps bugging me... In-Reply-To: <199909171952.VAA43872@node10c55.a2000.nl> 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 On Fri, 17 Sep 1999, Robin Huiser wrote: > Hi! > > For some reason cron keeps complaining about: > > Message 2/1442 Cron Daemon Sep 17, 1999 09:40:36 pm +0200 > > Return-Path: > Date: Fri, 17 Sep 1999 21:40:36 +0200 (CEST) > To: root > Subject: Cron root /usr/libexec/atrun > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > > root: not found > > Cron keeps root flooding with e-mail. > What mistake did I make when editing crontab (as root I entered: crontab -e). > > This is the output of crontab -l (for user root): > > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.oejOt28320 installed on Mon Sep 13 11:53:08 1999) > # (Cron version -- $Id: crontab.c,v 1.11 1997/09/15 06:39:15 charnier Exp $) > # /etc/crontab - root's crontab for FreeBSD > # > # $Id: crontab,v 1.18 1998/03/30 09:17:25 ache 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 > 0 2 * * * root periodic daily 2>&1 | sendmail r > oot > 30 3 * * 6 root periodic weekly 2>&1 | sendmail > root > 30 5 1 * * root periodic monthly 2>&1 | sendmail > root I don't know what editor you are using but it's wrapping long lines. You'll have to fix this line so that 'root' is appended to line before it. You'll also want to learn about a less brain damaged editor, pick up a book on 'vi' or 'emacs'. If you are using 'pico' to edit system config files, at least use 'pico -w' until you learn a better editor. -Alfred Perlstein - [bright@rush.net|alfred@freebsd.org] Wintelcom systems administrator and programmer - http://www.wintelcom.net/ [bright@wintelcom.net] > # > # 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 > > PLEASE HELP!!! > > Greets -- Robin Huiser > > > > 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