GrizNeT Posted January 15, 2007 Share Posted January 15, 2007 Hi Guys,How can i make a reservation email ticket expire? lets say for 5 days.. after 5 days if the user have not yet confirmed its status, his data will be automatically remove from the database..My setup im using MySQL 5 and PHP 5. Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/34286-expiring-reservation-ticket/ Share on other sites More sharing options...
Philip Posted January 15, 2007 Share Posted January 15, 2007 Do you know how to use CRON jobs? Quote Link to comment https://forums.phpfreaks.com/topic/34286-expiring-reservation-ticket/#findComment-161262 Share on other sites More sharing options...
GrizNeT Posted January 15, 2007 Author Share Posted January 15, 2007 Nope, i have seen it on my linux box but i have not tried it yet.. Can you please explain how can it be done using CRON.Thanks KingPhilip. Quote Link to comment https://forums.phpfreaks.com/topic/34286-expiring-reservation-ticket/#findComment-161343 Share on other sites More sharing options...
GrizNeT Posted January 16, 2007 Author Share Posted January 16, 2007 Bump :'( Quote Link to comment https://forums.phpfreaks.com/topic/34286-expiring-reservation-ticket/#findComment-162285 Share on other sites More sharing options...
Jessica Posted January 16, 2007 Share Posted January 16, 2007 Did you try searching for info about cron? Quote Link to comment https://forums.phpfreaks.com/topic/34286-expiring-reservation-ticket/#findComment-162303 Share on other sites More sharing options...
GrizNeT Posted January 18, 2007 Author Share Posted January 18, 2007 Hi,I have searched about Cron in the net.. Cron is the name of program that enables unix users to execute commands or scripts (groups of commands) automatically at a specified time/date. Im guessing it can also execute php scripts? Please shed some light on me.. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/34286-expiring-reservation-ticket/#findComment-163672 Share on other sites More sharing options...
Orio Posted January 18, 2007 Share Posted January 18, 2007 Yes, it enables you to execute PHP scripts.[url=http://www.google.com/search?hl=en&q=cron+php]Read[/url].Orio. Quote Link to comment https://forums.phpfreaks.com/topic/34286-expiring-reservation-ticket/#findComment-163683 Share on other sites More sharing options...
GrizNeT Posted January 19, 2007 Author Share Posted January 19, 2007 Thanks Guys :D I'll give this one a shot. Cheers! Quote Link to comment https://forums.phpfreaks.com/topic/34286-expiring-reservation-ticket/#findComment-164450 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.