Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 11:51:44 -0400
From:      Robert Fitzpatrick <robert@webtent.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Creating periodic cron jobs
Message-ID:  <1084463494.2480.92.camel@columbus>

next in thread | raw e-mail | index | archive | help
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', 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

-- 
Robert



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