For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > September 2007 > Re: [PHP-DB] Executing a query in the future









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] Executing a query in the future
Christoph Boget

2007-09-13, 6:59 pm

>
> 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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com