minca

Interface: Automation

Defined in: packages/std/src/automations.ts:88

The body of a std.automation record

Properties

PropertyModifierTypeDescriptionDefined in
by?readonlystringThe DID of the bot that runs it, when its maker may instruct bots here; else its maker's own devices and agentpackages/std/src/automations.ts:98
every?readonlystringWhen it runs by itself: five cron fields, minute hour day month weekday, in the runner's local timepackages/std/src/automations.ts:94
namereadonlystringWhat people call itpackages/std/src/automations.ts:90
paused?readonlybooleanKept, but not runpackages/std/src/automations.ts:102
picked?readonlyReadonly<Record<string, unknown>>How an app's builder showed it, so it can be shown and changed again. Never read to run it.packages/std/src/automations.ts:100
sincereadonlystringNothing that came to hold before this sets it offpackages/std/src/automations.ts:104
thenreadonlyAutomationActionWhat it doespackages/std/src/automations.ts:96
when?readonlyAutomationWhenWhat records set it off. An automation has this, every, or both.packages/std/src/automations.ts:92

On this page