Skip to content

Python timer trigger does not run locally when runonstartup is set to true #5262

Closed
@paulbatum

Description

@paulbatum

Repro Steps:

  1. In VS Code, create a new python function app, add a timer trigger.
  2. Modify function.json, add this line: "runOnStartup": true,
  3. Add a breakpoint to the function code
  4. F5

Expected result: host starts, function runs, breakpoint is hit.
Actual result: host hangs, eventually shows this error:

[11/18/2019 9:59:11 PM] Executed 'Functions.TimerTrigger' (Failed, Id=9a4b4a95-f436-4502-bad9-6d72f5090339)
[11/18/2019 9:59:11 PM] System.Private.CoreLib: Exception while executing function: Functions.TimerTrigger. Microsoft.Azure.WebJobs.Script: Did not find any initialized language workers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions