Executing a query in the future
am 13.09.2007 16:28:33 von mbomgardner
------=_NextPart_000_0436_01C7F5E8.745231B0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I am looking for a way in PHP to execute a query at some point in the
future. Here is my example; I am writing a page to checkout laptop
computers to instructors. I want the person that checks out the laptop to
receive an email when the laptop is close to being to, but I want this to be
automated. I don't want to have to pull up a page everyday to run the
query. Is there something that can run in the background that can run a
page at varying intervals?
markb
------=_NextPart_000_0436_01C7F5E8.745231B0--
Re: Executing a query in the future
am 13.09.2007 16:38:19 von Brad Bonkoski
cron?
or if on windows they have a scheduler, and then just run a command line
PHP script that checks due dates and sends out emails as necessary, not
sure you need a web page to send out email notifications...
-B
Mark Bomgardner wrote:
> I am looking for a way in PHP to execute a query at some point in the
> future. Here is my example; I am writing a page to checkout laptop
> computers to instructors. I want the person that checks out the laptop to
> receive an email when the laptop is close to being to, but I want this to be
> automated. I don't want to have to pull up a page everyday to run the
> query. Is there something that can run in the background that can run a
> page at varying intervals?
>
> markb
>
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Executing a query in the future
am 13.09.2007 16:39:16 von Instruct ICC
>From: "Mark Bomgardner"
>Is there something that can run in the background that can run a
>page at varying intervals?
>
>markb
Unix/Mac/Linux: cron
Windows: task scheduler
____________________________________________________________ _____
Kick back and relax with hot games and cool activities at the Messenger
Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Executing a query in the future
am 13.09.2007 16:39:30 von Christoph Boget
------=_Part_13553_7271952.1189694371215
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
>
> I am looking for a way in PHP to execute a query at some point in the
> future. Here is my example; I am writing a page to checkout laptop
> computers to instructors. I want the person that checks out the laptop to
> receive an email when the laptop is close to being to, but I want this to
> be
> automated. I don't want to have to pull up a page everyday to run the
> query. Is there something that can run in the background that can run a
> page at varying intervals?
>
> markb
>
Couldn't you set up a cron job to run this script every day?
thnx,
Chris
------=_Part_13553_7271952.1189694371215--