コード例 #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
ファイル: Program.cs プロジェクト: connorpmaclean/lights
 public static async Task Main(string[] args)
 {
     await LightsCore.Run();
 }