Пример #1
0
 public static async Task LightsOfftime([TimerTrigger("*/30 * 0-15 * * *")] TimerInfo myTimer, ILogger log)
 {
     log.LogInformation($"C# Timer trigger function executed at: {DateTime.Now}");
     await LightsCore.Run(log);
 }
Пример #2
0
 public static async Task Main(string[] args)
 {
     await LightsCore.Run();
 }