Reputation: 9417
Is it possible to configure an Azure function to run at a specific date and time? The only option I see is timer based scheduling which looks like a Cron job.
Upvotes: 1
Views: 1050
Reputation: 14334
Per my understanding, you could use the Scheduled messages from Service Bus and set the ScheduledEnqueueTimeUtc
property when sending a message. This property is used to submit messages to a queue or topic for delayed processing. The document gives an example: schedule a job to become available for processing by a system at a certain time. I think this is what you want.
Then yo could use a ServiceBusTrigger
with your Function to triggering the scheduled queue message. Further more about Azure Service Bus bindings
you could refer to this doc: Azure Service Bus bindings for Azure Functions.
Upvotes: 1