You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gitbook/guide/jobs/repeatable.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,3 @@
1
-
# Repeatable
2
-
3
-
## Repeatable
4
-
5
1
There is a special type of _meta_ job called **repeatable**. These jobs are special in the sense that even though you only add one job to the queue, they will keep repeating according to a predefined schedule.
6
2
7
3
Adding a job with the `repeat` option set will actually do two things immediately: create a Repeatable Job configuration, and schedule a regular delayed job for the job's first run. This first run will be scheduled "on the hour", that is if you create a job that repeats every 15 minutes at 4:07, the job will first run at 4:15, then 4:30, and so on.
@@ -100,7 +96,7 @@ await myQueue.add(
100
96
);
101
97
```
102
98
103
-
###Slow repeatable jobs
99
+
## Slow repeatable jobs
104
100
105
101
It is worth to mention the case where the repeatable frequency is greater than the time it takes to process a job.
0 commit comments