Beispiel #1
0
        static async void timer_Elapsed(object sender, ElapsedEventArgs e)
        {
            Console.WriteLine("### Timer Stopped ### \n");
            timer.Stop();
            Console.WriteLine("### Scheduled Task Started ### \n\n");
            await TwilioService.SendMorningMessagesAsync();

            Console.WriteLine("### Task Finished ### \n\n");
            schedule_Timer_MorningMessages();
        }