Values · Value
Next by cron
The next times a cron schedule fires (minute hour day month weekday), for people who know cron.
date.next_cron
In a flow
“Works out next by cron whenever a step wired to it needs the answer.”
0 9 * * 1 → Mondays 09:00
What it does
The next times a cron schedule fires (minute hour day month weekday), for people who know cron. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under Values in the palette.
When to use it
Use it when a step needs a value worked out first: the next times a cron schedule fires (minute hour day month weekday), for people who know cron.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Time Number
-
A moment, like Time from Now. 0 is right now.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 0.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
- Time zone Text
-
Like Europe/London or America/New_York. Empty is UTC.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses UTC.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Cron Text
-
Five parts: minute hour day month weekday, with * , - and /.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses 0 9 * * 1.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Next Number
-
The next time (0 if it can't be read). e.g. 1767513600
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Next five List
-
The next five times. e.g. [1767513600]
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more
- Understood Yes / no
-
Off when the cron was not valid. e.g. on
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more