mirror of https://github.com/dapr/docs.git
Update daprdocs/content/en/developing-applications/building-blocks/jobs/howto-schedule-and-handle-triggered-jobs.md
Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
This commit is contained in:
parent
c1700c7887
commit
ad5bbe5dc5
|
@ -96,7 +96,7 @@ await app.RunAsync();
|
|||
|
||||
Finally, the job itself needs to be registered with Dapr so it can be triggered at a later point in time. This could happen
|
||||
by injecting a `DaprJobsClient` into a class and executing as part of an inbound operation to your application, but for
|
||||
our purposes, we'll just put it at the bottom of our `Program.cs` file we started above. Because we'll be using the
|
||||
this example's purposes, it'll go at the bottom of the `Program.cs` file you started above. Because you'll be using the
|
||||
`DaprJobsClient` we registered with dependency injection, we need to start by creating a scope so we can access it.
|
||||
|
||||
```cs
|
||||
|
|
Loading…
Reference in New Issue