Skip to main content
This has been deprecated in favor of DynamicSchedule.register

Parameters

string
required
Should be a stable and unique cache key inside the run(). See resumability for more information.
DynamicSchedule
required
A DynamicSchedule that will trigger any Jobs it’s attached to on a regular interval.
string
required
A unique id for the interval. This is used to identify and unregister the interval later.
object
required
An object containing options about the interval.

Returns

A Promise that resolves to an object with the following fields:
string
required
A unique id for the interval. This is used to identify and unregister the interval later.
any
required
Any additional metadata about the interval.
string
required
This will be used by the Trigger.dev Connect feature, which is coming soon.
object
required