Can't edit crontab

Emlio uc3709@yahoo.es
Fri Feb 17 07:49:00 GMT 2012


On 02/16/2012 10:26 PM, Andrey Repin wrote:
> Greetings, Emlio!
>
>>>> The way I set the EDITOR var to nano is:
>>>> $ EDITOR=nano;
>>>> And if i type "EDITOR" nano editor is opened. But when I run crontab -e
>>>> I get the crontab edited by vi(m) again.
>>> $ EDITOR=nano crontab -e
>>>
>>> ?
>> Yep, this worked!
>> I had tried similar stuff with pipelines (yes, it's called desperation),
>> but hadn't think of this idea.
> Then export your variable in ~/.bashrc
>
> And please don't CC list messages to me personally.
>
>
> --
> WBR,
> Andrey Repin (anrdaemon@freemail.ru) 17.02.2012,<01:03>
>
> Sorry for my terrible english...
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
Thanks, the export thing was what I as missing.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list