# TasksOptions

`interface` in `plugin-tasks` · v0.1.0-next.1

<https://seedcord.org/docs/packages/plugin-tasks/0.1.0-next.1/interfaces/tasks-options>

Options for the [`Tasks`](/docs/packages/plugin-tasks/0.1.0-next.1/classes/tasks) plugin.

```ts
interface TasksOptions
```

## Properties

### path

```ts
path: string;
```

The folder that holds your task classes, relative to `root` from `seedcord.config.ts`.

### runInDev

```ts
runInDev?: boolean
```

Lets cron jobs and scheduled jobs run on their own under `seedcord dev`, where they otherwise wait.
`trigger()` still runs a task without data by hand.

### timeout

```ts
timeout?: number
```

How long in-flight runs get to finish during shutdown, in milliseconds.

### timezone

```ts
timezone?: IanaTimezone
```

The timezone for every cron job that doesn't set its own. Defaults to the system's.
