Re: crontab



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

.



Relevant Pages

  • Re: Making IntelliJ sit still
    ... Even if only one project is open and only one file is in the editor view. ... One selects console view and all of a sudden one cannot, for example, "clean" the project without reselecting it. ... I've tried various ways of selecting the console view, and in all cases, I could always select to "clean" the project. ...
    (comp.lang.java.softwaretools)
  • Re: which HTML editor using suse 9?
    ... GVim isn't console. ... Vim is. ... and what does that make it any more powerful or useful than GVim? ... gvim so he had a decent editor when he wanted to do some ...
    (alt.os.linux)
  • Re: first interactive app
    ... I have books of many chapters that must be split into volumes before going ... If you're a WISIWIG editor, ... I think a SmartConsole would take A.I. I want a multi-column console. ...
    (comp.lang.python)
  • Re: Great free, non commercial, non modal console text editors
    ... this is a contradicting set of requirments for a text editor. ... Simply by specifying console, you have both eliminated most existing ... cross-platform editor with power features in a ... Because the underlying host is Vim, ...
    (comp.editors)
  • Re: Great free, non commercial, non modal console text editors
    ... this is a contradicting set of requirments for a text editor. ... Simply by specifying console, you have both eliminated most existing ... Windows environment, but everybody knows EDIT.) ... recommend it to these newbies for when they are doing normal GUI ...
    (comp.editors)