Skip site navigation (1)Skip section navigation (2)
Date:      17 Sep 2004 15:38:12 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Steve Bertrand" <iaccounts@ibctech.ca>
Cc:        questions@freebsd.org
Subject:   Re: Crontab file (root user)
Message-ID:  <44656c3cuz.fsf@be-well.ilk.org>
In-Reply-To: <4185.209.167.16.15.1095428161.squirrel@209.167.16.15>
References:  <4185.209.167.16.15.1095428161.squirrel@209.167.16.15>

next in thread | previous in thread | raw e-mail | index | archive | help
"Steve Bertrand" <iaccounts@ibctech.ca> 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?



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