I need to run a SQL Query at least once a day. How can

I need to run a SQL Query at least once a day. How can I accomplish this in my WP installation? I am using MySQL.