Hi Frank,

So if I 

#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:[EMAIL PROTECTED] 
Sent: 12 March 2004 09:07
To: Dave Carrera
Cc: [EMAIL PROTECTED]
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 
> doing it right.
>
> 1) I saw on a list that /usr/lib/cron/cron.allow or 
> /usr/lib/cron/cron.deny needs to exist is this true on FreeBSD as I 
> don’t 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 
> 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
>
>
> _______________________________________________
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
>



---
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
 

---
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
 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to