Jump to content

Time based stored procedure


nati

Recommended Posts

Hello everybody,

 

I was googling and googling and found nothing well explained about the question I have.

 

I have to do some updates and deletes in few tables and that should be performed every day at certain time. My idea was to create a stored procedure but what I don't know is how to realize that stored procedure to be called and executed at defined time, on database level (without any user or administrator action).

 

I have MySQL 5.0.51.

 

Is it possible at all?

 

 

Tnx in advance,

Nati

 

Link to comment
Share on other sites

As far as I know, scheduling stored procedure execution is not possible in any version of MySQL.  Why not just use cron to fire off the procedure?

Does the event scheduler in 5.1 allow for this? I've never used it... so I'm just asking.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.