property IScheduledController.cron

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.

Type

string

Usage

import { type IScheduledController } from "cloudflare-plugin/src/index.ts";