public void Execute()
 {
     Trace.TraceInformation($"Sending startup text to {configuration["TestSmsPhoneNumber"]}");
     try
     {
         smsClient.SendSmsMessage(configuration["TestSmsPhoneNumber"], "Hello! Message Scheduler is up and running!");
     }
     catch (TwilioException e)
     {
         Trace.TraceError($"Failed to send startup text to {configuration["TestSmsPhoneNumber"]}: {e}");
     }
 }
 public void Execute()
 {
     foreach (ScheduledText text in GetTextsToSend())
     {
         Trace.TraceInformation($"Attempting to send message '{message}' to user {text.FirstName} {text.LastName} with phone number {text.PhoneNumber} ");
         try
         {
             smsClient.SendSmsMessage(text.PhoneNumber, message);
         }
         catch (TwilioException e)
         {
             Trace.TraceError($"Failed to send text with message '{message}' to user {text.FirstName} {text.LastName} with phone number {text.PhoneNumber}: {e}");
         }
     }
 }