HOTSPOT
You work for a multinational company that has Azure and Common Data Service environment in the United States (UTC-7) and Japan (UTC+9).
You create Azure Functions for each location to update key data.
You need to configure the functions to run at 4:00 AM on weekdays at each location.
Which schedule formats should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Box 1: 0 0 4 * * 1-5
Azure Functions uses the NCronTab library to interpret NCRONTAB expressions.
An NCRONTAB expression is similar to a CRON expression except that it includes an additional sixth field at the beginning to use for time precision in seconds:
{second} {minute} {hour} {day} {month} {day-of-week}
NCRONTAB time zones
The numbers in a CRON expression refer to a time and date, not a time span. For example, a 5 in the hour field refers to 5:00 AM, not every 5 hours.
The default time zone used with the CRON expressions is Coordinated Universal Time (UTC).
To have your CRON expression based on another time zone, create an app setting for your function app named WEBSITE_TIME_ZONE.
1-5 is weekdays
Box 2: 0 0 4 * * 1-5
Leave a Reply