如何根据不同时区运行Azure函数应用程序,例如在UTC中检查一个用户和EST中的一个用户,需要在timeZone上发送10am

发布于 2025-02-10 03:34:39 字数 135 浏览 0 评论 0 原文

我正在使用Azure函数应用程序进行发送电子邮件,但是每5分钟和每天每天5分钟和每天运行一次。 但是我想根据Different TimeZone安排Timmer,一封电子邮件将在上午10点到达佛罗里达时区,第二次是在上午10点到达EST TimeZone。

I am using azure function app for for sending email but it is running according to set time every 5 min 10 min hours and every days.
But i want to schedule timmer according to diffrent timezone one email goes to utc persion accroding to florida timezone on 10am and second is goes to est timezone on there 10am.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深陷 2025-02-17 03:34:39

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.

enter image description here

For Windows host based Function App, check the time zone here.

Reference:
NCRONTAB time zones.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文