Re: Crontab file (root user)

2004-09-17 Thread Lowell Gilbert
"Steve Bertrand" <[EMAIL PROTECTED]> writes:

> I'm wondering where the crontab is located for the root user. I know
> there is the system crontab in /etc, however doing a #crontab -e when
> su'd to root, it comes up with a different crontab.
 
Right.  Just as you said: the former is the system crontab, the latter
is the root user's crontab.  The former has an extra field that
indicates which user to run a command as, the latter is exactly the
same as any other user's crontab (and is stored in /var/cron/tabs just
all the other user crontabs).

I'm not quite sure what your confusion is: did my previous paragraph
eliminate it?

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


Re: Crontab file (root user)

2004-09-17 Thread Steve Bertrand
> On Fri, 17 Sep 2004 09:36:01 -0400 (EDT), Steve Bertrand
> <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> I'm wondering where the crontab is located for the root user. I know
>> there is the system crontab in /etc, however doing a #crontab -e
>> when
>> su'd to root, it comes up with a different crontab.
>>
>> Is there a file on the system that actually contains the root users
>> crontab entries?
>
> In /var/cron/tabs you have a file named root for root crontab.

Indeed...thanks greatly!

Steve

>
> --
> Renato Botelho
> ICQ: 54596223
> AIM: RBGargaBR
>


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


Re: Crontab file (root user)

2004-09-17 Thread Renato Botelho
On Fri, 17 Sep 2004 09:36:01 -0400 (EDT), Steve Bertrand
<[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I'm wondering where the crontab is located for the root user. I know
> there is the system crontab in /etc, however doing a #crontab -e when
> su'd to root, it comes up with a different crontab.
> 
> Is there a file on the system that actually contains the root users
> crontab entries?

In /var/cron/tabs you have a file named root for root crontab.

-- 
Renato Botelho
ICQ: 54596223
AIM: RBGargaBR
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"