Its a very simple and easy code to setup your own cronjob.