Have function running every hour - php

Hi everyone,

I am not sure if my subject tells it well but i wanna create a function which will run every day or every hour to check my DB and update my Information instead of going everyday and manually check it which will consume too much time.

Does anybody can help me in that please.

Thanks for any help.