# Interface: StartAutomationsOptions

Defined in: [packages/std/src/automations.ts:692](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L692)

## Extends

- [`RunAutomationsOptions`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md)

## Properties

| Property | Modifier | Type | Description | Inherited from | Defined in |
| ------ | ------ | ------ | ------ | ------ | ------ |
| <a id="property-account"></a> `account` | `readonly` | `string` | The account running them: a person's, for their app or agent, or a bot's own | - | [packages/std/src/automations.ts:694](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L694) |
| <a id="property-ask"></a> `ask?` | `readonly` | (`trigger`) => `Promise`\<`Pick`\<\{ `at`: `string`; `did`: `string`; `made?`: `string`; `ok`: `boolean`; \}, `"did"` \| `"ok"`\>\> | Does what an automation asks an agent. Without it, automations that ask are left to a runner that can. | [`RunAutomationsOptions`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md).[`ask`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md#property-ask) | [packages/std/src/automations.ts:453](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L453) |
| <a id="property-bot"></a> `bot?` | `readonly` | `boolean` | A bot, running as an account of its own: nothing it writes sets an automation off | [`RunAutomationsOptions`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md).[`bot`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md#property-bot) | [packages/std/src/automations.ts:449](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L449) |
| <a id="property-busy"></a> `busy?` | `readonly` | `Set`\<`string`\> | Records being acted on now, shared across calls so a second look leaves them alone | [`RunAutomationsOptions`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md).[`busy`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md#property-busy) | [packages/std/src/automations.ts:457](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L457) |
| <a id="property-claimms"></a> `claimMs?` | `readonly` | `number` | How long to wait after claiming a record before acting, to hear whether a device of the same account claimed it too; the earlier claim acts and the later steps back. 0, the default, doesn't wait. | [`RunAutomationsOptions`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md).[`claimMs`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md#property-claimms) | [packages/std/src/automations.ts:463](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L463) |
| <a id="property-notify"></a> `notify?` | `readonly` | [`AutomationNotifier`](https://minca.dev/api/std/type-aliases/AutomationNotifier.md) | Shows a notification. Without it, a `notify` automation's run says nothing could. | [`RunAutomationsOptions`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md).[`notify`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md#property-notify) | [packages/std/src/automations.ts:451](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L451) |
| <a id="property-now"></a> `now?` | `readonly` | () => `Date` | - | - | [packages/std/src/automations.ts:702](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L702) |
| <a id="property-onerror"></a> `onError?` | `readonly` | (`error`) => `void` | - | - | [packages/std/src/automations.ts:699](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L699) |
| <a id="property-onrules"></a> `onRules?` | `readonly` | (`rules`) => `void` | Called with the automations it runs, whenever they change | - | [packages/std/src/automations.ts:698](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L698) |
| <a id="property-onrun"></a> `onRun?` | `readonly` | (`trigger`, `run`) => `void` | Each time an automation acted | [`RunAutomationsOptions`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md).[`onRun`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md#property-onrun) | [packages/std/src/automations.ts:465](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L465) |
| <a id="property-tickms"></a> `tickMs?` | `readonly` | `number` | How often the time is checked against `every`. Default 15 s. | - | [packages/std/src/automations.ts:701](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L701) |
| <a id="property-timed"></a> `timed?` | `readonly` | `boolean` | Whether automations run at the times they name; an app open now and then leaves that to an always-on runner. Default true. | - | [packages/std/src/automations.ts:696](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L696) |
| <a id="property-title"></a> `title?` | `readonly` | (`record`) => `string` | What a record is called, for `{title}` | [`RunAutomationsOptions`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md).[`title`](https://minca.dev/api/std/interfaces/RunAutomationsOptions.md#property-title) | [packages/std/src/automations.ts:455](https://github.com/leifriksheim/minca/blob/main/std/src/automations.ts#L455) |
