Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Is it possible to do [TimerTrigger("%my_config_value%")] and/or use INameResolver? #38

Open
Mithras opened this issue Jan 30, 2021 · 0 comments

Comments

@Mithras
Copy link

Mithras commented Jan 30, 2021

Before it was possible to get schedule from config or even register a custom INameResolver to resolve "%xxx%" in runtime.
With the worker I'm getting "Microsoft.Azure.WebJobs.Host: Error indexing method 'xxx'. Microsoft.Azure.WebJobs.Host: '%xxx%' does not resolve to a value." before Main() is even called.
Well, the only reason we use "%xxx%" in Timer triggers is because there is no way to specify trigger time zone. Which is a degradation since Azure Functions V1 which did support it. Yes, I know I can run whole app in whatever time zone I want but it is not a valid solution because the rest of our code expects to run in UTC (which is a best practice btw).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant