Date: Thu, 13 May 2004 12:28:20 -0400 From: Robert Fitzpatrick <robert@webtent.com> To: platanthera <platanthera@web.de> Cc: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Creating periodic cron jobs Message-ID: <1084465699.2479.107.camel@columbus> In-Reply-To: <200405131805.13058.platanthera@web.de> References: <1084463494.2480.92.camel@columbus> <200405131805.13058.platanthera@web.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1084465699.2479.107.camel>