Re: crontab
- From: jasen <jasen@xxxxxxxxxxx>
- Date: 23 Dec 2006 03:08:52 GMT
On 2006-12-22, Jan Panteltje <pNaonStpealmtje@xxxxxxxxx> wrote:
On a sunny day (22 Dec 2006 02:14:02 -0800) it happened
"suzan.james@xxxxxxxxx" <suzan.james@xxxxxxxxx> wrote in
<1166782442.156883.98590@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
Thanks. I knew I can use crontab -e but ow can I save it and exit?
I did not find any resource on web. I can only use ctrl-z but it
terminates the editor
Just as root use:
crontab -l > myconfig
Then use any editor to edit 'myconfig'.
(I use joe as editor, vi sucks, joe is a full screen editor).
<space for flames>
then reload crontab:
crontab myconfig
Now you can put myconfig wherever it is _you_ like by specifying the full path.
<space for flames>
LOL
Works for me :-)
you can also do "EDITOR=joe crontab -e"
or add "export EDITOR=joe" to your .bash_profile file and use "crontab -e"
(after logging out and back in etc)
Bye.
Jasen
.
- References:
- crontab
- From: suzan.james@xxxxxxxxx
- Re: crontab
- From: Bill Marcum
- Re: crontab
- From: suzan.james@xxxxxxxxx
- Re: crontab
- From: Jan Panteltje
- crontab
- Prev by Date: Re: crontab
- Next by Date: Re: Encoding issues with literal strings (C++)
- Previous by thread: Re: crontab
- Next by thread: Re: does anybody know an very old technology called BBS and how to program BBS?
- Index(es):
Relevant Pages
|