Re: Executing a query in the future
| From: | Christoph Boget | Date: | Thu, 13 Sep 2007 14:39:30 +0000 |
| Subject: | Re: Executing a query in the future | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44011@lists.php.net to get a copy of this message | ||
>
> 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