Azure Scheduler - pass date parameter

309 Views Asked by At

I want to pass current date parameter to Azure Scheduler action URL when it executes.

For example, https://<server_ip>/some/job/endpoint?startdate={0}&enddate={1} Where the placeholder will pass the current date and if possible to do some simple evaluation to add 1 day to startdate for enddate.

Is there a way to do this using the Azure Scheduler?

1

There are 1 best solutions below

0
Martin Brandl On

Probably not since there is a open vote for supporting variables for Azure Scheduler. However, you could use Azure function with a time based trigger that performs your request including the date.