Azure-webjobs-sdk: TimerTrigger binding fails

Created on 24 Sep 2018  路  2Comments  路  Source: Azure/azure-webjobs-sdk

when using the v3.0.0 sdk the timer trigger TimerInfo fails to bind to anything other than the parameter named myTimer; this break existing code using the UseMonitor and RunOnStartup is set

Error indexing method 'FileTransformation.FileInboundJobResp'
[9/24/2018 12:59:04 PM] Microsoft.Azure.WebJobs.Host: Error indexing method 'FileTransformation.FileInboundJobResp'. Microsoft.Azure.WebJobs.Host: Can't bind parameter 'timerTrigger' to type 'Microsoft.Azure.WebJobs.TimerInfo'.

Most helpful comment

In my case it needs to be called "timer", otherwise if I call it "timerTrigger" it fails. Odd. This is still happening as of April 2019 with the latest SDK.

All 2 comments

In my case it needs to be called "timer", otherwise if I call it "timerTrigger" it fails. Odd. This is still happening as of April 2019 with the latest SDK.

Still happening March 2021. (App Service Plan Linux, App just recently created)

Caused me quite some head scratching. So glad I found this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sergey-netdev picture sergey-netdev  路  5Comments

TheeJamesLee picture TheeJamesLee  路  3Comments

hajekj picture hajekj  路  3Comments

kamranayub picture kamranayub  路  4Comments

lopezbertoni picture lopezbertoni  路  4Comments