Add method that reads rows from database based on scheduled time
Move method to get sms data from database to scheduler class.