From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 01:38:39 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 CD74116A4CE for ; Fri, 12 Mar 2004 01:38:39 -0800 (PST) Received: from obrist.ephgroup.net (mail.ephgroup.net [213.129.73.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D02D43D46 for ; Fri, 12 Mar 2004 01:38:39 -0800 (PST) (envelope-from dave@ephgroup.com) Received: from daveslaptop (host81-7-12-84.adsl.v21.co.uk [81.7.12.84]) by obrist.ephgroup.net (EPH GROUP Mail Deamon v3.0.1) with ESMTP id 6955347E83; Fri, 12 Mar 2004 09:38:38 +0000 (GMT) From: "Dave Carrera" To: Date: Fri, 12 Mar 2004 09:38:33 -0000 Message-ID: <003301c40815$c94ba5d0$0301a8c0@daveslaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <49303.141.67.67.161.1079082429.squirrel@Matrix.Iceman> Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: Cron job questions 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: Fri, 12 Mar 2004 09:38:40 -0000 Hi Frank, So if I=20 #ee /etc/crontab (I prefer ee to vi ) Add this * 2 * * * root /bin/csh /root/script.csh Save exit That should run my script at 2am every morning yes ? Spaces above are tabs in keeping with what is in my crontab already = (entries by someone else's) Thanks for your help Dave C -----Original Message----- From: Frank Mueller [mailto:Franky-Mueller@web.de]=20 Sent: 12 March 2004 09:07 To: Dave Carrera Cc: freebsd-questions@freebsd.org Subject: Re: Cron job questions Hi, 1) if you don't have either cron.allow nore cron.deny, then anyone is allowed to use cron 2) nope 3) As root just edit /etc/crontab and save it. The config is = automatically reread. 4) sleep well Bye, Frank > Hi List, > > I am trying to set up a cronjob and want to pass by the list if I am=20 > doing it right. > > 1) I saw on a list that /usr/lib/cron/cron.allow or=20 > /usr/lib/cron/cron.deny needs to exist is this true on FreeBSD as I=20 > don=92t have them which I think restricts only root to use cron. > > 2) I can only su to root dose this affect the way cron works > > 3) do root#ee /etc/crontab add cron job save exite and run=20 > root#crontab crontab to activate it? > > 4) if not what do I do. > > First go at this so clear instructions would be very much appreciated > > Thank you in advance > > Dave C > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.619 / Virus Database: 398 - Release Date: 10/03/2004 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" > --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.619 / Virus Database: 398 - Release Date: 10/03/2004 =20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.619 / Virus Database: 398 - Release Date: 10/03/2004 =20