Re: Re: cat cron jobs into crontab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Mar 13, 2007 at 11:32:55AM -0500, Styma, Robert E (Robert) enlightened us:
> The most common way I have seen ov updating crontab is the
> crontab command.
> 
> 1.  login or su to the appropriate user
> 2.  crontab -l  > /tmp/crontab.txt
> 3.  edit /tmp/crontab.txt to your liking
> 4.  crontab /tmp/crontab.txt
> 
> This gets the right files in the right places an alerts cron
> of the change.
> 

Or you could just type crontab -e and not copy tmp files around.

This method is fine when you're not trying to automate something, so is good
information, but less useful to the OP.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux