[Techtalk] Any difference in crontab listing

Carla Schroder carla at bratgrrl.com
Tue Jul 12 07:08:13 EST 2005


On Monday 11 July 2005 1:49 pm, Lucky Lady wrote:
> Hi,
> 
> I want to set up a cron job (shell script). I know
> there are two ways to do this. I can directly edit my
> crontab list, or I can create, save, and load a text
> file with my crontab entries. Is there any difference
> in these two methods? Is one way better than the
> other?
> 
> TIA,
> 
> DaLy

Not much difference. I prefer editing /etc/crontab for simple things. The 
advantage of using the crontab command is individual users can set up their 
own. /etc/crontab is editable only by the root user.

Carla

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
http://www.tuxcomputing.com
check out my new book, the "Linux Cookbook", the ultimate Linux user's 
and sysadmin's guide! http://www.oreilly.com/catalog/linuxckbk/
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the Techtalk mailing list