X-Spam-Check-By: sourceware.org Message-ID: <43CAB584.49D4C018@dessent.net> Date: Sun, 15 Jan 2006 12:50:12 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Running php scripts under cygwin References: <43CA8A92 DOT 2000409 AT webtent DOT net> <1137355920 DOT 7806 DOT 251903339 AT webmail DOT messagingengine DOT com> <43CAB25B DOT 8070808 AT webtent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 Robert Fitzpatrick wrote: > Thanks, yes, I want to use the script by cron, can you point out how > that will be done? I've found some cygwin cron stuff, but still no word > on exactly how I set that up under cygwin. I already thought I'd rewrite Install the cron package. Read /usr/share/doc/Cygwin/cron.README. Run /usr/bin/cron-config to install the service. Start the service. From there on everything works as it would on a unix system. Edit the crontab file with "crontab -e", add the job, etc. BTW building a Cygwin PHP is no walk in the park. Cygwin is not a supported platform by the PHP developers and their build system is so hacked up and brain dead that it does not understand simple things like the fact that binaries under win32 have the .exe extension. It is relatively straightforward if you do a static build but to get a modular build you will probably have to delve into the guts of their painful build system. Things might have changed in 5.x, but in 4.x it was a pit of hell. It would be much less work to just use native win32 PHP, which is actually supported and supposed to work. Of course you will have to use win32 paths since it will not be a Cygwin application. Brian -- 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/