Re: crontab
- From: Bernd Strieder <strieder@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Dec 2006 12:31:07 +0100
Hello,
suzan.james@xxxxxxxxx wrote:
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
The question is, what editor is used, it seems like vi or more likely
vim, which is the default. Most newbies run into the famous vi
textadventure with the simple task to exit it cleanly. ctrl-z does not
quit it, but suspend. At least this returns the console back to you.
Then the question is, whether you have been able to edit anything at
all. Most people manage to change the text in their first vi session,
but they don't know what they did to produce anything, just at some
time it starts editing somehow.
And then comes the final problem, saving and exiting, a four! key
sequence <ESC> <:> <w> <q>. See the manuals.
If you are sticking to the text console, you have basically two chances,
first learn vi, which provides you with a powerful editor which is
available on about every single 'nixoid system, or second you change
your environment variable EDITOR or VISUAL to use some other editor
with crontab -e. You have to learn some key combinations for using any
editor in the console.
There are GUI applications nowadays replacing crontab, e.g. kcron for
KDE, this might save you most of the fuzz.
Bernd Strieder
.
- References:
- crontab
- From: suzan.james@xxxxxxxxx
- Re: crontab
- From: Bill Marcum
- Re: crontab
- From: suzan.james@xxxxxxxxx
- crontab
- Prev by Date: Gii problem
- Next by Date: Re: crontab
- Previous by thread: Re: crontab
- Next by thread: Re: crontab
- Index(es):
Relevant Pages
|