Possible Duplicate:
Is there an equivalent to cron in Windows?
How do I update my data in MySQL periodically?
Say I have table. One column is "Date". Another column is "Expiry_Status".
How do I update the table periodically(a few hours) such that, if the date in the "Date" column is after the current date, the "Expiry_Status" will be updated to "Yes" value.
I am using WAMP as the framework.
Edit: Thanks for the answers but a lot of you guys gave answers about changing the database architecture. The case I gave above is just a simple example. I am more interested on how databases are updated regularly. ie: the program used, the syntax, the paradigms....etc etc. Thanks again.