views:

73

answers:

1

Is there a way in MySQL to call a stored procedure from within SQL every x minutes?

I want to use this in a session-environment, where the database keeps track of all the sessions and automatically deletes sessions older than x minutes.

+3  A: 

Use MySQL Events, it was introduced in version 5.1.

Ben S