Hi!
Could this work, I wonder? Have a timestamp field that gets set whenever a
person books a room. Then when people look at a room, if the current date is
more than a certain amount of time after the timestamp showing, it is
EXPIRED. This would be easy to code in PHP.
Cheers!
-Warren
----- Original Message -----
From: "Jeremy Zawodny" <[EMAIL PROTECTED]>
To: "Hasan Niyaz" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 1:45 PM
Subject: Re: events that i can trigger on intervals.
> On Tue, Jun 05, 2001 at 11:27:33PM +0500, Hasan Niyaz wrote:
> > Hi,
> >
> > I have a room inventory. Clients can block rooms them but I want to
> > release them after a specified time if they do not release them
> > normally via the given link. I want to be able to trigger an event
> > to release the rooms after the time limit. Is there any way I can
> > do this with MySQL or PHP.
>
> You'll need to use a batch scheduler like cron (on Unix/Linux) to run
> a script that does it (or fetch a URL which runs a script that does
> it).
>
> MySQL doesn't have scheduling capabilities built into it (and probably
> doesn't need them), so simply need to use a tool that does.
>
> Jeremy
> --
> Jeremy D. Zawodny, <[EMAIL PROTECTED]>
> Technical Yahoo - Yahoo Finance
> Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 439-9951
>
> MySQL 3.23.29: up 11 days, processed 68,753,894 queries (71/sec. avg)
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php