Re: [PHP] Constantly running?

2001-05-24 Thread Plutarck

http://www.phpwizard.net/projects/phpIRC/

phpIRC uses such functionality to run such a daemon without having to use
crontab. However, PHP just doesn't do it all that fantastically on it's own.
phpIRC can often run for 3-4 days, but after that it tends to die off or
stop functioning. Meaning you can't rely on your script always running, so
often it's best not to even bother.

Best to just use crontab with a timed script or use a completely different
solution for an 'always on' program such as one written in java.


Plutarck

""Chris"" <[EMAIL PROTECTED]> wrote in message
009e01c0e2cf$1bf62e00$c61012d1@null">news:009e01c0e2cf$1bf62e00$c61012d1@null...
Is there anyway to ALWAYS have a script running on the server without
needing a browser to access it?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Constantly running?

2001-05-23 Thread Chadwick, Russell


If safe mode is off you can keep setting the max execution time in a while
loop and it would run forever.  It will also use 100% cpu unless you call
sleep.

---
Toolshed Computer Productions - Professional PHP Hosting
 Hosting - Dedicated Servers - Design - Programming
 http://www.toolshed51.com

-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 7:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Constantly running?


Is there anyway to ALWAYS have a script running on the server without
needing a browser to access it?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Constantly running?

2001-05-23 Thread Chris

Is there anyway to ALWAYS have a script running on the server without needing a 
browser to access it?