Skip to content

Commit 812da5c

Browse files
committed
docs: update docs for the background jobs plugin
1 parent bfad936 commit 812da5c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

adminforth/documentation/docs/tutorial/08-Plugins/23-background-jobs.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,21 @@ The plugin saves tasks and keeps executing them even after a server restart, so
129129
```ts title="./index.ts"
130130
//diff-add
131131
import BackgroundJobsPlugin from '@adminforth/background-jobs';
132+
//diff-add
133+
import jobs_resource from './resources/jobs.js';
134+
135+
...
136+
137+
resources: [
138+
139+
...
140+
141+
//diff-add
142+
jobs_resource,
143+
144+
...
145+
146+
],
132147

133148
...
134149

0 commit comments

Comments
 (0)