Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25935 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30318 invoked by uid 1010); 4 Oct 2006 16:26:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30303 invoked from network); 4 Oct 2006 16:26:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Oct 2006 16:26:29 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:2827] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/E4-24206-2B0E3254 for ; Wed, 04 Oct 2006 12:26:28 -0400 Received: (qmail 24189 invoked by uid 98); 4 Oct 2006 16:26:26 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 (clamdscan: 0.88.4/1994. Clear:RC:1(127.0.0.1):. Processed in 0.211314 secs); 04 Oct 2006 16:26:26 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 0.211314 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 4 Oct 2006 16:26:26 -0000 Received: from 208.195.234.254 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Wed, 4 Oct 2006 11:26:26 -0500 (CDT) Message-ID: <33191.208.195.234.254.1159979186.squirrel@www.l-i-e.com> In-Reply-To: <10845a340610040125x13e369dne97f400eea1bd3a2@mail.gmail.com> References: <57.D8.08641.D099A154@pb1.pair.com> <7F.60.15221.0BC6D154@pb1.pair.com> <45211B28.8090007@onevision.com> <44814.208.195.234.254.1159821114.squirrel@www.l-i-e.com> <45236EB6.1020600@onevision.com> <10845a340610040125x13e369dne97f400eea1bd3a2@mail.gmail.com> Date: Wed, 4 Oct 2006 11:26:26 -0500 (CDT) To: RQuadling@GoogleMail.com Cc: "Roland Schwingel" , internals@lists.php.net, polita@php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Re: [PHP Guru question]: run php script from within pecl extension From: ceo@l-i-e.com ("Richard Lynch") On Wed, October 4, 2006 3:25 am, Richard Quadling wrote: > On 04/10/06, Roland Schwingel wrote: > >> I tried the "AT" thingy also, but I am not very confident about >> errorlogging and it opens up an IMHO too big difference in Windows >> and Unix handling of my app's installation and maintenance process, >> so I think I will give my cron solution a try... > > But they ARE different OS. When you want the OS to do something for > you outside of PHP, you cannot necessarily use the same techniques. > You have to be OS aware at that stage. > > If the code is run on a MAC, would you need a different mechanism > again? OS X, no, you would not need a different mechanism, because OS X is pretty much FreeBSD+OpenBSD+AppleGUICode. So it has a perfectly fine cron/at command. MacOS 9.x and below, if PHP even runs on it, I suppose you have a point, except I don't think anybody has seriously gotten PHP to run stable on MacOS below X -- could be wrong, of course. There are probably *other* OSes out there that PHP runs on, like TiVo, where you have no "at" command... Good Luck! -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?