RE: [PHP] How can I add records to database every 60 minutes???

2003-07-29 Thread Sævar Öfjörð
I'm not sure if this is possible in PHP, but Apache's Cron should take
care of this.

-Original Message-
From: phpu [mailto:[EMAIL PROTECTED] 
Sent: 29. júlí 2003 09:49
To: [EMAIL PROTECTED]
Subject: [PHP] How can I add records to database every 60 minutes???

Hello
I'm making an online game in php and mysql. Can someone tell me how can
I add records to database every 60 minutes (even when i'm not online)


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



Re: [PHP] How can I add records to database every 60 minutes???

2003-07-29 Thread David Nicholson
Hello,

This is a reply to an e-mail that you wrote on Tue, 29 Jul 2003 at
10:54, lines prefixed by '' were originally written by you.
 I'm not sure if this is possible in PHP, but Apache's Cron should
take
 care of this.

Cron is a feature of most unix based OSes rather than a feature of
Apache.  It will do the trick for you though, you can use it to call
a PHP script either using the PHP binary on your system (if you have
one) or by calling a script through a command line program such as
lynx or wget.

HTH

David.

--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/

  Professional Web Development by David Nicholson
http://www.djnicholson.com/

QuizSender.com - How well do your friends actually know you?
 http://www.quizsender.com/
(developed entirely in PHP)

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