Agenda - v6.0.0
    Preparing search index...

    Interface RemoveJobsOptions

    Options for removing jobs (database-agnostic)

    interface RemoveJobsOptions {
        data?: unknown;
        id?: string | JobId;
        ids?: (string | JobId)[];
        name?: string;
        names?: string[];
        notNames?: string[];
    }
    Index

    Properties

    data?: unknown

    Remove jobs matching data

    id?: string | JobId

    Remove job by ID

    ids?: (string | JobId)[]

    Remove jobs by IDs

    name?: string

    Remove jobs by name

    names?: string[]

    Remove jobs by names (include)

    notNames?: string[]

    Remove jobs NOT matching these names (exclude)