Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 17:11:43 +0100
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        The Fadm Colk <colk@ixswr.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Crontab
Message-ID:  <3CA4923F.D77A1212@cs.umu.se>
References:  <005a01c1d724$819366c0$d5b02341@tampabay.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> The Fadm Colk wrote:
> 
> What should roots default crontab be if anything or is it all done in
> /etc/crontab

You should probably not edit the crontab file in /etc. Instead you should
create another crontab file by using "crontab -e". If you're logged in
as root it will be roots crontab, when issuing "crontab -e". If logged in
as someone else, it will be that users crontab, when using "crontab -e".

The cron files created by using "crontab -e" are in /var/cron/tabs but
should not be edited directly.

To read more about the crontab command, use "man crontab"

You might want to setenv EDITOR your_favourite_editor so you don't run
into trouble using vi, if you're not used to it, which is the default
editor.

For informational purposes the crontab in /etc is good reading.

Best regards,
Paul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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