How can i run a php or mysql script automatically every month, quarter or year?

I have a book for a MySQL Database which adds up all of a numbers in a mainstay as well as sets it behind to 0 (its flattering most similar to an adjusting entry). we do not wish to transparent a essence utterly since we need them for stating purposes. we wish possibly PHP or MySQL to run a book to do this automatically so we do not dont think about to do it. What is a most appropriate approach in starting about you do this?

How do i get the MySQL service to install and start?

Every thing was excellent final night with my Minecraft server though upon collision i diatribe a MySQL server Instance pattern tool… After which i got a array of errors(fixed those). Now when ever i run th server example apparatus to emanate a brand new server(i deleted all my aged ones) i get to a govern partial as good as all goes good until a begin use part, when i get to which it regularly freezes as good as becomes non responsive.
How do i repair this??
Please help!!