Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2004 11:14:28 +0100 (CET)
From:      "Frank Mueller" <Franky-Mueller@web.de>
To:        "Dave Carrera" <dave@ephgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Cron job questions
Message-ID:  <49452.141.67.67.161.1079086468.squirrel@Matrix.Iceman>
In-Reply-To: <003301c40815$c94ba5d0$0301a8c0@daveslaptop>
References:  <49303.141.67.67.161.1079082429.squirrel@Matrix.Iceman> <003301c40815$c94ba5d0$0301a8c0@daveslaptop>

next in thread | previous in thread | raw e-mail | index | archive | help

Yes, correct.

-- 


> 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:Franky-Mueller@web.de]
> 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
>> 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
>>
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "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
>
>
> ---
> 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
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49452.141.67.67.161.1079086468.squirrel>