R
R
reZed2014-12-30 12:51:29
MySQL
reZed, 2014-12-30 12:51:29

How to implement automatic launch of a stored procedure once every two days in MySQL?

Is it possible in MySQL to implement such a stored procedure that will run every two days, assign a specific value to a certain column in all records, and then select three random records and assign another value to the same column? In this way, I would like to rotate random records on the site that change every two days, but I'm not well versed in stored procedures.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2014-12-30
@reZed

Don't worry, use cron (for Windows - nncron)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question