Type Alias BatchPredictionSchedule

Batch prediction job schedule

type BatchPredictionSchedule = {
    applyDatasetChangeOnly?: boolean;
    chronosJobId?: string;
    endDateTime?: string;
    failureAttempts?: number;
    lastSuccessfulDateTime?: string;
    recurrence?: string[];
    startDateTime?: string;
    status?:
        | "pending"
        | "active"
        | "error"
        | "error_scheduler_unreachable"
        | "error_scheduler_callback_error"
        | "licence_advanced_features_required"
        | "failing_schedule_permission";
    timezone?: string;
}
Index

Properties

applyDatasetChangeOnly?: boolean

If true, only run prediction if dataset has changed to avoid duplicates. If set to false, re-runs predictions on unchanged datasets.

chronosJobId?: string
endDateTime?: string
failureAttempts?: number
lastSuccessfulDateTime?: string
recurrence?: string[]

Recurrence rules. Maximum is DAILY but you can specify the hour, minute, and second it runs each day. One string per rule.

startDateTime?: string
status?:
    | "pending"
    | "active"
    | "error"
    | "error_scheduler_unreachable"
    | "error_scheduler_callback_error"
    | "licence_advanced_features_required"
    | "failing_schedule_permission"
timezone?: string