X-Spam-Check-By: sourceware.org
Message-ID: <44FB1B8A.4020606@cygwin.com>
Date: Sun, 03 Sep 2006 14:14:34 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Windows popup/message box?
References: <200607272025.k6RKPGTI008773@sd.skydive1.com> <Pine.GSO.4.63.0607271706530.734@access1.cims.nyu.edu> <44D140FF.3000307@x-ray.at> <Pine.GSO.4.63.0608022127240.14631@access1.cims.nyu.edu> <Pine.GSO.4.63.0608022228460.14631@access1.cims.nyu.edu> <6910a60608031301k433ec73fjc049079770395e16@mail.gmail.com> <6910a60608031302v31a98751rc7ede6692bb7e6a@mail.gmail.com> <6026656.post@talk.nabble.com> <Pine.GSO.4.63.0608281716150.10073@access1.cims.nyu.edu> <D00B190D8FFBF24FB29FACF432A8DF970506EB@srv-lmb.LMB.local> <D00B190D8FFBF24FB29FACF432A8DF9705077B@srv-lmb.LMB.local> <000b01c6ccf4$6e8d5340$a501a8c0@CAM.ARTIMI.COM> <6121546.post@talk.nabble.com>
In-Reply-To: <6121546.post@talk.nabble.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

<http://cygwin.com/acronyms/#TOFU>

liora milbaum wrote:
> Dave Korn wrote:
>> On 31 August 2006 12:43, Liora Milbaum wrote:
>>
>>> I found a solution to my problem. As soon as I changed the crontab
>>> command to:
>>> * * * * * bash --login -c 'perl -e "use GD;"' >& /usr/tmp/test.log
>>>
>>> It worked.
>>
>>   Ah, your path wasn't set so it couldn't find the dll; I guess your
>> .bashrc
>> was adding the necessary directory?  You could probably also fix it by
>> adding
>> the relevant directory to the %PATH% setting in the windows system
>> environment
>> variables, because then it should be part of $PATH for any cygwin process
>> that
>> starts, regardless of whether you run a shell and use a startup script.
>>
 > I don't have a .bashrc file and I tried adding the path to the dll to the
 > PATH environment variable.
 > It didn't helped. The solution I listed bellow is currently the only one
 > that works for me.

Order and placement are important here.  You would need to make sure that
the DOS equivalent of '/usr/bin' was added to the path cron sees
before it is launched.  You could either specify this as a parameter to
the installation of the cron service service (see the help for 'cygrunsrv')
or add it to your system-wide path in the Windows GUI.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

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

