How to add a cron job in my functions.php

How to add a cron job in my functions.php