Adding timing to the cron task.