如何根据不同时区运行Azure函数应用程序,例如在UTC中检查一个用户和EST中的一个用户,需要在timeZone上发送10am
我正在使用Azure函数应用程序进行发送电子邮件,但是每5分钟和每天每天5分钟和每天运行一次。 但是我想根据Different TimeZone安排Timmer,一封电子邮件将在上午10点到达佛罗里达时区,第二次是在上午10点到达EST TimeZone。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Azure功能使用 UTC 作为其默认时区。同意
@chetan
的评论。如果您的Azure函数应用程序基于Windows,请尝试将以下新的
应用程序设置
添加到称为 'workt _time_time_zone'的函数应用程序中,如下屏幕截图。用于Windows主机的功能应用程序,请检查时区在这里。
参考:
ncrontab时区。
Azure Functions uses UTC as its default time zone. Agree with the comment by
@chetan
.If your Azure Function App is based on windows, then try to add the below new
Application Setting
to your Function App called as ‘WEBSITE_TIME_ZONE’ like below screenshot.For Windows host based Function App, check the time zone here.
Reference:
NCRONTAB time zones.