I would like to execute a procedure periodically, how to do that in MySQL?
If you have MySQL 5.1 you can use events.
http://dev.mysql.com/doc/refman/5.1/en/events.html
MySQL allow this with the Event Scheduler : http://dev.mysql.com/doc/refman/5.1/en/events.html