added 24hr counting and added whenever(cron)