June 13, 2003

Cronjob change

I'm going to forget this...

export EDITOR=vi
crontab -e

Posted by stuartcw at June 13, 2003 08:17 PM
Comments

I'm in the opposite predicament, and I use:

export VISUAL=emacs
crontab -e

Don't quite grok what the diff. between EDITOR and VISUAL is.

Posted by: Joe Grossberg at June 14, 2003 01:15 AM

In fact, now that I think about it, why not just do an alias in your .bashrc?

alias crontab='export EDITOR=vi; crontab'

And then you won't have to remember it.

Posted by: Joe Grossberg at June 14, 2003 01:16 AM