Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 18:05:12 +0200
From:      platanthera <platanthera@web.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Creating periodic cron jobs
Message-ID:  <200405131805.13058.platanthera@web.de>
In-Reply-To: <1084463494.2480.92.camel@columbus>
References:  <1084463494.2480.92.camel@columbus>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 May 2004 17:51, Robert Fitzpatrick wrote:
> I am trying to create a quarter-daily cron job on my FreeBSD 5.2.1 as
> follows in /etc/crontab:
>
> 05 0,6,12,18     *     *     *     root  periodic quarter-daily
>
> I created the /etc/periodic/quarter-daily directory and placed my script
> there. After I ran 'crontab -u root /etc/crontab', 

have a look at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS

> now I am getting 
> these mail messages below, it seems I have created, for example, cron
> jobs as 'root /usr/libexec/atrun' in addition to the usual
> '/usr/libexec/atrun'. It has done this for daily, weekly, etc. as well.
> Can someone tell me what I did wrong?
>
> Return-Path: <root@esmtp.webtent.net>
> Received: from esmtp.webtent.net ([unix socket]) by esmtp.webtent.net
>         (Cyrus v2.1.16) with LMTP; Thu, 13 May 2004 11:45:01 -0400
> X-Sieve: CMU Sieve 2.2
> Received: from localhost (localhost.webtent.net [127.0.0.1]) by
>         esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail Gateway)
> with ESMTP
>         id 2734CEBD26 for <root@esmtp.webtent.net>; Thu, 13 May 2004
> 11:45:01 -0400
>         (EDT)
> Received: from esmtp.webtent.net ([127.0.0.1]) by localhost
>         (esmtp.webtent.net [127.0.0.1]) (amavisd-new, port 10024) with
> ESMTP id
>         22701-08 for <root@esmtp.webtent.net>; Thu, 13 May 2004 11:45:01
> -0400 (EDT)
> Received: by esmtp.webtent.net (WebTent ESMTP Postfix Internet Mail
>         Gateway, from userid 0) id 053C8EBD24; Thu, 13 May 2004 11:45:01
> -0400 (EDT)
> From: root@esmtp.webtent.net (Cron Daemon)
> To: root@esmtp.webtent.net
> Subject: Cron <root@esmtp> root /usr/libexec/atrun
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <LOGNAME=root>
> X-Cron-Env: <USER=root>
> Message-Id: <20040513154501.053C8EBD24@esmtp.webtent.net>
> Date: Thu, 13 May 2004 11:45:01 -0400 (EDT)
> X-Virus-Scanned: by the WebTent ESMTP Postfix Internet Mail Gateway
> X-Evolution-Source: imap://admin;auth=CRAM-MD5@esmtp.webtent.net/
> Mime-Version: 1.0
>
> root: not found



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