sets up cronjob to run every day