Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScheduledTaskJSON

Hierarchy

  • ScheduledTaskJSON

Index

Properties

catchUp

catchUp: boolean

If the task should try to catch up if the bot is down.

since

0.5.0

data

data: Record<PropertyKey, unknown>

The data to pass to the Task piece when the ScheduledTask is ready for execution.

since

0.5.0

id

id: string

The task's ID.

since

0.5.0

repeat

repeat: string | null

The {@link Cron} pattern.

since

0.5.0

taskName

taskName: string

The name of the Task piece this will execute.

since

0.5.0

time

time: number

The UNIX timestamp for when this task ends at.

since

0.5.0

Generated using TypeDoc