【发布时间】:2017-08-07 03:18:43
【问题描述】:
我正在处理 Azure 函数计时器作业,我需要从 appsettings 中获取 cron 表达式。请告诉我,我如何从 Azure 函数中的 appsettings 中获取值。我想从上午 9:00 到下午 12:00 每 30 分钟运行一次 azure 函数\
{
"disabled": false,
"bindings": [
{
"name": "timerInfo",
"type": "timerTrigger",
"direction": "in",
"schedule": "0 * * * * *"
}
]
}
【问题讨论】:
-
你试过什么?它使用 cron 语法,也许从那里开始 (crontab-generator.org)
标签: c# azure azure-functions serverless