Newsgroups: php.internals,php.internals Path: news.php.net Xref: news.php.net php.internals:25926 php.internals:25927 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52459 invoked by uid 1010); 4 Oct 2006 08:20:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52444 invoked from network); 4 Oct 2006 08:20:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Oct 2006 08:20:15 -0000 X-Host-Fingerprint: 212.77.172.62 unknown Received: from [212.77.172.62] ([212.77.172.62:28276] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/3B-22448-DBE63254 for ; Wed, 04 Oct 2006 04:20:14 -0400 To: internals@lists.php.net, ceo@l-i-e.com Message-ID: <45236EB6.1020600@onevision.com> Date: Wed, 04 Oct 2006 10:20:06 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 CC: internals@lists.php.net, polita@php.net 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> In-Reply-To: <44814.208.195.234.254.1159821114.squirrel@www.l-i-e.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 212.77.172.62 Subject: Re: [PHP-DEV] Re: [PHP Guru question]: run php script from within pecl extension From: Roland.Schwingel@onevision.com (Roland Schwingel) Hi Richard, Richard Lynch schrieb: > On Mon, October 2, 2006 8:59 am, Roland Schwingel wrote: >> I love cron, but I am mainly (85%) on windows with my apps and >> want to have a simple and easy setup and not a bunch of >> applications/services to install. There is just the apache service >> bringing in php and my pecl. All other solutions I know are much more >> voluminous and have more errorpoints. > > Last I checked, Windows has this "at" command, the underpinnings of > which are remarkably similar (read: stolen from) the Un*x "at" command > upon which "cron" (and Windows "Scheduled Tasks") are built. > > So you could probably use "at" on all systems reliably, with minor (or > no) tweaks to anything. > > If not, I'm betting that you could bundle an opensource "cron" into > your distribution process a heck of a lot faster and more reliably > than hacking up a bogus cron-like substance within PHP... > 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... Roland