addition of cron job to count at a regular interval