Date: Fri, 12 Mar 2004 09:38:33 -0000 From: "Dave Carrera" <dave@ephgroup.com> To: <Franky-Mueller@web.de> Cc: freebsd-questions@freebsd.org Subject: RE: Cron job questions Message-ID: <003301c40815$c94ba5d0$0301a8c0@daveslaptop> In-Reply-To: <49303.141.67.67.161.1079082429.squirrel@Matrix.Iceman>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301c40815$c94ba5d0$0301a8c0>