Interface ScheduleOptions

    Options for addSchedule. All optional — defaults match enqueue.

    interface ScheduleOptions {
        maxAttempts?: number;
        priority?: number;
        queue?: string;
    }
    Index

    Properties

    maxAttempts?: number

    Max total attempts before the job is marked failed. Default 3.

    priority?: number

    Priority (higher runs first). Default 0.

    queue?: string

    Named queue the fired job lands on. Default "default".