From owner-freebsd-questions@FreeBSD.ORG Thu May 13 09:27:14 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 8A05C16A4CE for ; Thu, 13 May 2004 09:27:14 -0700 (PDT) Received: from hermes.webtent.net (hermes.webtent.net [192.216.106.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0233643D39 for ; Thu, 13 May 2004 09:27:14 -0700 (PDT) (envelope-from robert@webtent.com) Received: from columbus.webtent.org (webtent.org [198.79.127.235]) by hermes.webtent.net (8.10.2/8.10.2) with ESMTP id i4DGR9j22128; Thu, 13 May 2004 12:27:09 -0400 From: Robert Fitzpatrick To: platanthera In-Reply-To: <200405131805.13058.platanthera@web.de> References: <1084463494.2480.92.camel@columbus> <200405131805.13058.platanthera@web.de> Content-Type: text/plain Organization: WebTent Networking, Inc. Message-Id: <1084465699.2479.107.camel@columbus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 13 May 2004 12:28:20 -0400 Content-Transfer-Encoding: 7bit cc: FreeBSD Subject: Re: Creating periodic cron jobs 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: Thu, 13 May 2004 16:27:14 -0000 On Thu, 2004-05-13 at 12:05, platanthera wrote: > 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 > OK, thanks, that seems to have worked, just not informing the system. But now when my script runs in the 'quarter-hourly' directory, I get the following, the script is running fine: mail: illegal option -- a Usage: mail [-EiInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ... [- sendmail-options ...] mail [-EiInNv] -f [name] mail [-EiInNv] [-u user] Of course, I'm not getting the mail message that the cron would normally produce. -- Robert