Skip to content
Interfaceplugin-tasksv0.1.0-next.1

TasksOptions

Options for the Tasks plugin.

interface TasksOptions

path

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

path: string;

runInDev

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.

runInDev?: boolean

Default:false

timeout

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

timeout?: number

Default:10_000

timezone

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

timezone?: IanaTimezone