Skip to content

IJob not triggered when something is injected to it #977

Answered by lahma
vlapenkov asked this question in General
Discussion options

You must be logged in to vote

Please follow the documentation and add the job via q.AddJob.... This will register it to DI. You should not take reference to scheduler inside the configuration while you are still building the configuration. It's especially bad now when the lambda is async void, it won't be even awaited.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vlapenkov
Comment options

@lahma
Comment options

Answer selected by vlapenkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #977 on September 30, 2020 15:20.