Re: Re: [PHP Guru question]: run php script from within pecl extension
| From: | Richard Lynch | Date: | Mon, 02 Oct 2006 20:31:54 +0000 |
| Subject: | Re: Re: [PHP Guru question]: run php script from within pecl extension | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25911@lists.php.net to get a copy of this message | ||
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...
YMMV
--
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?