From owner-freebsd-questions Sat Mar 20 9: 3:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from Pegasus.cc.ucf.edu (Pegasus.cc.ucf.edu [132.170.240.30]) by hub.freebsd.org (Postfix) with ESMTP id 64AF715031 for ; Sat, 20 Mar 1999 09:03:37 -0800 (PST) (envelope-from ewayte@pegasus.cc.ucf.edu) Received: from Pegasus.cc.ucf.edu ([132.170.240.30]:46728 "HELO pegasus.cc.ucf.edu" ident: "ewayte") by pegasus.cc.ucf.edu with SMTP id <3009-14267>; Sat, 20 Mar 1999 11:59:17 -0500 Date: Sat, 20 Mar 1999 11:59:01 -0500 (EST) From: Eric Wayte To: Donald Cc: freebsd-questions Subject: Re: Crontab entry In-Reply-To: <36F370F7.E821252D@eoe-magical.org> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/ALTERNATIVE; BOUNDARY=------------66CAD76C70282C9ACAD683AE Content-ID: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --------------66CAD76C70282C9ACAD683AE Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-ID: Take out the root - the crontab is associated with the user that created it. See man crontab(1), man crontab(5) for additional info. -Eric- On Sat, 20 Mar 1999, Donald wrote: > Date: Sat, 20 Mar 1999 09:57:11 +0000 > From: Donald > To: freebsd-questions > Subject: Crontab entry > > 5,10,15,20,25,30,35,40,45,50,55 * * * * root /usr/majordomo/wrapper > mj_key_cache 2>&1 | sendmail root > > I put this entry into crontab, ran crontab crontab and get emailed an > error > > root : not found > > it supposed to run every five minutes all the time > can someone help with the correct systax. > --------------66CAD76C70282C9ACAD683AE Content-Type: TEXT/HTML; CHARSET=us-ascii Content-ID: Content-Description: 5,10,15,20,25,30,35,40,45,50,55 * * * *   root   /usr/majordomo/wrapper mj_key_cache 2>&1 | sendmail root

I put this entry into crontab, ran crontab crontab and get emailed an error

root : not found

it supposed to run every five minutes all the time
can someone help with the correct systax. --------------66CAD76C70282C9ACAD683AE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message