Multiple crontab files
Kurt Wall
kwall
Mon May 17 12:01:58 PDT 2004
In a 0.5K blaze of typing glory, Michael Hipp wrote:
> Question ...
>
> Crontab normally runs whatever is in /etc/crontab.
>
> But if I also create /root/crontab and do "crontab /root/crontab' does
> this *replace* what it was running from /etc or is it in *addition* to?
Most implementations *replace* the existing crontab. Dillon's
cron lets you specify a different directory (cron -c /some/dir),
but only root can do that.
> I know that a crontab for a normal user would be in addition to, but
> wasn't sure about user root.
You might consider using /etc/cron.{hourly,daily,whatever}, but it
really depends on what you're trying to accomplish.
Kurt
--
Whistler's Law:
You never know who is right, but you always know who is in
charge.
More information about the Linux-users
mailing list