run.csx

using System;

public static void Run(TimerInfo myTimer, ILogger log)
{
    log.LogInformation("Log Information");
    log.LogWarning("Log Warning");
    log.LogError("Log Error");

}

function.json

Schedule to run every 5 minutes.

{
  "bindings": [
    {
      "name": "myTimer",
      "type": "timerTrigger",
      "direction": "in",
      "schedule": "0 */5 * * * *"
    }
  ]
}

CRON Expression

https://en.wikipedia.org/wiki/Cron#CRON_expression

Last modified: March 26, 2021

Author

Comments

Write a Reply or Comment