Re: Re: [PHP Guru question]: run php script from within pecl extension

From: Date: Wed, 04 Oct 2006 08:20:06 +0000
Subject: Re: Re: [PHP Guru question]: run php script from within pecl extension
References: 1 2 3 4  Groups: php.internals php.internals 
Request: Send a blank email to internals+get-25927@lists.php.net to get a copy of this message
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

« previous php.internals (#25927) next »