Add cron job and date algo