variables en cron
Resulta que quiero usar otro editor distinto a vi para editar la crontab. He
probado editando con crontab -e
Y poniendo en las primeras líneas:
EDITOR=mcedit
También he probado con otras alternativas:
EDITOR=/usr/bin/mcedit
VISUAL=mcedit
VISUAL=/usr/bin/mcedit
Y nada... cuando uso otra vez crontab -e sigue usando el vi.
Si exporto antes la variable sí funciona, pero se supone que debería funcionar
editando el crontab, al menos eso se desprende del man(1):
"The -e option is used to edit the current crontab using the editor
specified by the VISUAL or EDITOR environment variables. After you
exit from the editor, the modified crontab will be installed automati-
cally."
Muchas gracias de antemano.
SErgio BELKin
--
------------------------------------------------------------------------
Visite www.solar.org.ar Software Libre Argentina
Baje el manual para nuevos usuarios de GNU/Linux de
http://www.solar.org.ar/article.php3?id_article=28
------------------------------------------------------------------------
Reply to: