Skip to Content

PL-400: What Is the Correct CRON Expression for Hourly Azure Function Triggers?

How to Create Hourly Timer Triggers in Azure Functions for Power Platform Integration?

Table of Contents

Question

An organization uses Microsoft Dataverse.

You need to create a timer trigger for an Azure function that needs to run once every hour from 9:00 AM to 5:00 PM.

Which schedule expression should you use?

Select only one answer.

A. 0 0 9-17 * * *
B. 0 0 * 9-17 * *
C. * 9-17 * * * *
D. 0 0 * 17 9 *

Answer

A. 0 0 9-17 * * *

Explanation

This item checks the candidate’s knowledge of configuring Azure functions that must run on a schedule.

Azure function uses the NCRONTAB expressions to run scheduled jobs.

{second} {minute} {hour} {day} {month} {day-of-week}

The 0 0 9-17 * * * expression will ensure that the Azure function runs every hour, between 09:00 AM and 05:59 PM.

The 0 0 * 9-17 * * expression will ensure that the Azure function runs every hour, between day 9 and 17 of the month.

The * 9-17 * * * * expression will ensure that the Azure function runs every second, minutes 9 through 17 past the hour.

The 0 0 * 17 9 * expression will ensure that the Azure function runs every hour, on day 17 of the month, only in September.

Microsoft Power Platform Developer PL-400 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Power Platform Developer PL-400 exam and earn Microsoft Power Platform Developer PL-400 certification.