Azure功能计时器通过应用程序设置配置

问题描述 投票:9回答:2

我正在开发Azure函数计时器Job,我需要从appsettings获取cron表达式。请告诉我,如何从Azure功能中的appsettings中获取价值。我希望每隔30分钟从上午9:00到下午12:00运行我的天蓝色功能

{
 "disabled": false,
 "bindings": [
   {
     "name": "timerInfo",
     "type": "timerTrigger",
     "direction": "in",
     "schedule": "0 * * * * *"
   }
 ]
}
azure azure-functions
2个回答
© www.soinside.com 2019 - 2024. All rights reserved.