Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/definition/scheduler/IProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface IOnetimeStartup {
export interface IRecurringStartup {
type: StartupType.RECURRING;
interval: string | number;
skipImmediate?: boolean;
data?: object;
}

Expand Down
4 changes: 4 additions & 0 deletions src/definition/scheduler/IRecurringSchedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ export interface IRecurringSchedule {
* or a number.
*/
interval: string | number;
/**
* Whether the recurring job should start immediately or wait for the interval
*/
skipImmediate?: boolean;
/** An object that can be passed to the processor with custom data */
data?: object;
}