Setu-TS
    Preparing search index...

    Interface IScheduledController

    The controller handed to a Cron Trigger's scheduled handler.

    A real Cloudflare ScheduledController satisfies this structurally.

    0.2.0

    interface IScheduledController {
        cron: string;
        scheduledTime: number;
    }
    Index
    cron: string

    The cron expression that fired, exactly as written in wrangler.toml.

    This is the only key a dispatcher can match on: the platform reports which of the Worker's configured triggers fired, not a name of our choosing.

    scheduledTime: number

    When the trigger was scheduled to fire, in epoch milliseconds.