Is there a way in MySQL to call a stored procedure from SQL every x minutes?
I want to use this in a session environment where the database keeps track of all sessions and automatically deletes sessions older than x minutes.
Use MySQL Events , it was introduced in version 5.1.