Roger Searle wrote:

main challenge was the exposure to vi - while I could use webmin to set
the whole thing up, I actually only did so as a test to force the
running of the job "right now".  command line and vi is actually much
easier (once you actually know enough commands to use vi)

after all the comments I have read about how challenging but useful vi
is, I totally agree.  given you are forced to use it when doing "crontab
-e" I reckon many newishbies will run from cron never to utilise it's
potential.  the majority of the time getting this all to work was
actually with learning enough vi commands to get 3 lines in my cron
table.  it was worth the effort, and i'm tempted to say that i actually
like vi and will use it again as soon as i have the chance (but will
keep that comment to myself...)

crontab -e inherits the EDITOR variable from your environment. If you want to use a different editor, do something like:

EDITOR=/usr/bin/nano crontab -e

and you will be using nano

Not to say vi isn't a useful skill, its just for quick and dirty, there can be more convenient alternatives.

anyway thanks again for the help getting this working.  actually lets me
take care of (nearly) all my backing up requirements. Roger


Glad to see its working.

Reply via email to