Problem with cron
Mark Eggers
mdeggers at gmail.com
Sun Mar 24 17:18:41 UTC 2013
On Sat, 23 Mar 2013 23:12:44 -0700, Joe Zeff wrote:
> On 03/23/2013 10:47 PM, Garry T. Williams wrote:
>> On 3-23-13 15:21:37 Joe Zeff wrote:
>>> [joe at khorlia ~]$ echo $EDITOR nano
>>
>> This is your problem. You're missing a full path and crontab(1)
>> requires it.
>>
>>
> If so, why does this work:
>
> EDITOR=nano crontab -e
On Fedora 18:
[mdeggers at trident ~]$ export EDITOR=nano
[mdeggers at trident ~]$ printenv EDITOR
nano
[mdeggers at trident ~]$ crontab -e
invokes nano
[mdeggers at trident ~]$ which nano
/usr/bin/nano
(Don't know how I got /bin/nano earlier - maybe I was on the wrong machine)
So, I have no idea why it doesn't work on your machine. It works here.
. . . . just my two cents.
/mde/
More information about the users
mailing list