Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > : run php script from within
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 25th June 23:59
ceo
External User
 
Posts: 1
Default : run php script from within


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?

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
  Reply With Quote


  sponsored links


2 26th June 02:59
roland.schwingel
External User
 
Posts: 1
Default : run php script from within


Hi Richard,

Richard Lynch schrieb:

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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
  Reply With Quote
3 26th June 02:59
roland.schwingel
External User
 
Posts: 1
Default : run php script from within


Hi Richard,

Richard Lynch schrieb:

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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
  Reply With Quote
4 26th June 05:41
ceo
External User
 
Posts: 1
Default : run php script from within


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?

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666