Skip to content

Commit 201786f

Browse files
authored
Update 17/umbraco-cms/reference/scheduling.md
1 parent 5feb2fe commit 201786f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

17/umbraco-cms/reference/scheduling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ switch (_serverRoleAccessor.CurrentServerRole)
337337

338338
When load balancing the backoffice, all servers will have the `SchedulingPublisher` role. This means the approach described above for restricting jobs to specific server roles will not work as intended. All servers will match the `SchedulingPublisher` role.
339339

340-
Instead, for jobs that should only run on a single server, you should implement an `IDistrutedBackgroundJob`.
340+
Instead, for jobs that should only run on a single server, you should implement an `IDistributedBackgroundJob`.
341341

342342
`IDistributedBackgroundJobs` is separate from `IRecurringBackgroundJob`, and are tracked in the database to ensure that only a single server runs the job at any given time.
343343
This also means that you are not guaranteed what server will run the job, but you are guaranteed that only one server will run it.

0 commit comments

Comments
 (0)