Skip to content

Commit 4cbdd31

Browse files
spikeninjas3rius
andauthored
feat: add a tip to the docs about using LabelScheduleSource (#509)
Co-authored-by: Pavel Kirilin <win10@list.ru>
1 parent b588dc6 commit 4cbdd31

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/guide/scheduling-tasks.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ The scheduler doesn't execute tasks. It only sends them.
5353

5454
You can check list of available schedule sources in the [Available schedule sources](../available-components/schedule-sources.md) section.
5555

56+
::: tip Cool tip!
57+
58+
To specify schedules (cron or time-based) in the labels of a task definition, you must include **LabelScheduleSource** along with any other sources you use (e.g., **ListRedisScheduleSource**).
59+
60+
:::
61+
5662
## Multiple sources
5763

5864
Sometimes you may want to use multiple sources to assemble a schedule for tasks. The `TaskiqScheduler` can do so.

0 commit comments

Comments
 (0)