[PHP] Automatic Execution of Function

2004-11-07 Thread Kevin Javia
Hi,

I need to make a function that will execute automatically at some regular
intervals.

Is it possible? If yes, can any give me some hint how can I make such thing?

Thanks.
Kevin.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Automatic Execution of Function

2004-11-07 Thread Ryan King
 
On Sunday, November 07, 2004, at 09:38PM, Kevin Javia [EMAIL PROTECTED] wrote:

Hi,

I need to make a function that will execute automatically at some regular
intervals.

Is it possible? If yes, can any give me some hint how can I make such thing?

Thanks.
Kevin.


I presume you're talking about executing a script on periodic basis, not on a 
periodic basis within a webpage.  If so, and you're on a unix-like OS, try cron.

-ryan


-
http://homepage.mac.com/ryansking/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Automatic Execution of Function

2004-11-07 Thread Matthew Davey
Execute the script with a cron'd event. (assuming this is nix based)

If its not, I am pretty sure there is a similar system for windows.

-Original Message-
From: Kevin Javia [mailto:[EMAIL PROTECTED] 
Sent: November 7, 2004 22:28
To: [EMAIL PROTECTED]
Subject: [PHP] Automatic Execution of Function

Hi,

I need to make a function that will execute automatically at some regular
intervals.

Is it possible? If yes, can any give me some hint how can I make such thing?

Thanks.
Kevin.

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Automatic Execution of Function

2004-11-07 Thread Mike
Yes, you could very easily create a Windows Scheduled Task to call php.exe
with the path to the script you write.

-M

-Original Message-
From: Matthew Davey [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 07, 2004 10:50 PM
To: 'Kevin Javia'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Automatic Execution of Function

Execute the script with a cron'd event. (assuming this is nix based)

If its not, I am pretty sure there is a similar system for windows.

-Original Message-
From: Kevin Javia [mailto:[EMAIL PROTECTED] 
Sent: November 7, 2004 22:28
To: [EMAIL PROTECTED]
Subject: [PHP] Automatic Execution of Function

Hi,

I need to make a function that will execute automatically at some regular
intervals.

Is it possible? If yes, can any give me some hint how can I make such thing?

Thanks.
Kevin.

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php