# Interface: StartAutomationsOptions

Defined in: [packages/core/src/schemas/automations.ts:750](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L750)

## Extends

- [`RunAutomationsOptions`](https://minca.dev/api/schemas/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/core/src/schemas/automations.ts:752](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L752) |
| <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/schemas/interfaces/RunAutomationsOptions.md).[`ask`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md#property-ask) | [packages/core/src/schemas/automations.ts:511](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L511) |
| <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/schemas/interfaces/RunAutomationsOptions.md).[`bot`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md#property-bot) | [packages/core/src/schemas/automations.ts:507](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L507) |
| <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/schemas/interfaces/RunAutomationsOptions.md).[`busy`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md#property-busy) | [packages/core/src/schemas/automations.ts:515](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L515) |
| <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/schemas/interfaces/RunAutomationsOptions.md).[`claimMs`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md#property-claimms) | [packages/core/src/schemas/automations.ts:521](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L521) |
| <a id="property-notify"></a> `notify?` | `readonly` | [`AutomationNotifier`](https://minca.dev/api/schemas/type-aliases/AutomationNotifier.md) | Shows a notification. Without it, a `notify` automation's run says nothing could. | [`RunAutomationsOptions`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md).[`notify`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md#property-notify) | [packages/core/src/schemas/automations.ts:509](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L509) |
| <a id="property-now"></a> `now?` | `readonly` | () => `Date` | - | - | [packages/core/src/schemas/automations.ts:760](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L760) |
| <a id="property-onerror"></a> `onError?` | `readonly` | (`error`) => `void` | - | - | [packages/core/src/schemas/automations.ts:757](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L757) |
| <a id="property-onrules"></a> `onRules?` | `readonly` | (`rules`) => `void` | Called with the automations it runs, whenever they change | - | [packages/core/src/schemas/automations.ts:756](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L756) |
| <a id="property-onrun"></a> `onRun?` | `readonly` | (`trigger`, `run`) => `void` | Each time an automation acted | [`RunAutomationsOptions`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md).[`onRun`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md#property-onrun) | [packages/core/src/schemas/automations.ts:523](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L523) |
| <a id="property-tickms"></a> `tickMs?` | `readonly` | `number` | How often the time is checked against `every`. Default 15 s. | - | [packages/core/src/schemas/automations.ts:759](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L759) |
| <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/core/src/schemas/automations.ts:754](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L754) |
| <a id="property-title"></a> `title?` | `readonly` | (`record`) => `string` | What a record is called, for `{title}` | [`RunAutomationsOptions`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md).[`title`](https://minca.dev/api/schemas/interfaces/RunAutomationsOptions.md#property-title) | [packages/core/src/schemas/automations.ts:513](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L513) |
