Skip to content

Commit 5e6c9c8

Browse files
docs: add schedule directory with timed action and cron triggers
1 parent 064a1fb commit 5e6c9c8

5 files changed

Lines changed: 24 additions & 1 deletion

File tree

-1.76 KB
Binary file not shown.
18.6 KB
Loading
10.3 KB
Loading
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Cron
3+
description: Schedule a trigger using a Cron expression
4+
version: 1.1.0
5+
6+
parameters:
7+
- name: Cron Expression
8+
type: string
9+
required: true
10+
description: |
11+
Enter a valid Cron expression to define the schedule.
12+
13+
variables:
14+
- name: expression
15+
type: string
16+
description: The Cron expression that defined the schedule for this trigger
17+
value: '0 0 * * *'
18+
19+
- name: triggeredAt
20+
type: DateTime
21+
description: The timestamp when the Cron schedule was last triggered
22+
value: '8/22/2026 5:15:00 PM'
23+
---

streamerbot/3.api/2.triggers/core/timed-actions.md renamed to streamerbot/3.api/2.triggers/core/schedule/timed-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ variables:
2424
version: 0.2.4
2525
- name: counter
2626
type: int
27-
description: A counter that tracks how many times the timer has fired (even if its not set to trigger any action, as long it's enabled)
27+
description: A counter that tracks how many times the timer has fired (even if it's not set to trigger any action, as long it's enabled)
2828
value: 5251
2929
---
3030

0 commit comments

Comments
 (0)