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: cygwin AT cygwin DOT 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 AT cygwin DOT com Subject: Re: Windows popup/message box? References: <200607272025 DOT k6RKPGTI008773 AT sd DOT skydive1 DOT com> <44D140FF DOT 3000307 AT x-ray DOT at> <6910a60608031301k433ec73fjc049079770395e16 AT mail DOT gmail DOT com> <6910a60608031302v31a98751rc7ede6692bb7e6a AT mail DOT gmail DOT com> <6026656 DOT post AT talk DOT nabble DOT com> <000b01c6ccf4$6e8d5340$a501a8c0 AT CAM DOT ARTIMI DOT COM> <6121546 DOT post AT talk DOT nabble DOT 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 AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/