Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
294 views
in Technique[技术] by (71.8m points)

c# - If I run the azure WebJob each one hour, I am getting 30 minute late notification in India standard time zone

I am running my azure webjob each one hour in UTc time zone. Due to that in Indian standard Time zone I'm getting notification after 30 minute.

Ex : If except notification for 6 PM then I am Getting 6:30 PM , Same Like 7 PM Means 7:30 PM.

I Know the problem with time difference between UTC AND IST time zone. Because, It is difference (05:30 hour) the problem with 30 minute.

Ex : if webjob run at 12:00 pm then this time in india/IST(5:30 pm) and next webjob will run at 01:00 pm then this time in india/IST(6:30 pm) in this time I'm getting notification but I need exact 6 PM.

Can you please suggest how to fix the solution?

And can we run azure webjob IST time zone?

I checked we can run azure webjob on IST time zone might be but it's not support for LINUX.

Thank You.

question from:https://stackoverflow.com/questions/65915079/if-i-run-the-azure-webjob-each-one-hour-i-am-getting-30-minute-late-notificatio

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You could set the CRON expression to 0 30 * * * * to run it at the 30-minute mark to offset for the time difference.

This would run it at 12:30, 1:30, 2:30, etc. instead.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...