Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions