Changed checking cronjob to date