Scheduled Service to check the Agent Status [Initial structure ]