[CentOS] Re: cat cron jobs into crontab
hyclak at math.ohiou.edu
Tue Mar 13 16:34:59 UTC 2007
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.
Department of Mathematics
Department of Social Work
More information about the CentOS