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); }
public static async Task Main(string[] args) { await LightsCore.Run(); }