1
votes

I have a pre-compiled Azure timer function deployed to a function app. In order to change the cron expression currently I need redeploy from Visual Studio.

Is there a webservice or something that I can use to programmatically change this without having to do a full redeploy?

1

1 Answers

3
votes

You can put the cron expression to configuration. Use % in attribute parameter:

[TimerTrigger("%schedule%")] TimerInfo timer

And define the setting schedule in your App settings (or in local.settings.json for local development).