Re: time based execution

From: Date: Tue, 17 Oct 2000 07:38:55 +0000
Subject: Re: time based execution
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20559@lists.php.net to get a copy of this message
I would set up a cron script to run every minute checking for expired responses. In your table with orders, put an expire time. If any of the entries have expired times then move them over to another table or flip an expired bit. Have another script that comes over to the other table or selects all expired rows and process them accordingly. --Joe On Tue, Oct 17, 2000 at 01:06:13PM +0200, manohar sadhasivam wrote: > Hi all, > I send an order to a vendor. He has to reply within a time and his response > will update a record in a Mysql table. If there is no response from him for > a certain time, the system should place order to the next level vendor > automatically. How do i do this? I have no clues. > Please write to me "sadhasivammanohar@hotmail.com" > mano. > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net /*****************************\ * Joe Stump * * www.Care2.com * * Office: 650.328.0198 * * Extension: 122 * \*****************************/ http://www.miester.org/Joe/Stump/Joe_Stump_resume.html -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$ N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@ 5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)! ------END GEEK CODE BLOCK------

« previous php.general (#20559) next »