@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface CronTaskOptions

    Options of a plain (in-memory) cron task: bot.schedule(cron, { timeZone }, fn). Add an id (see DurableTaskOptions) to make it durable.

    interface CronTaskOptions {
        timeZone?: string;
    }
    Index
    timeZone?: string

    IANA zone the five cron fields are read in ('America/Bogota', 'Europe/Madrid', 'UTC'), or 'local' (the process zone). Default: SchedulerOptions.timeZone, else the process zone. Daylight-saving rules: a fixed-hour slot in a skipped hour runs once, shifted forward by the gap (02:30 → 03:30); in a repeated hour it runs once, at the first occurrence; wildcard-hour slots (an hour field starting with *) follow the real clock (none in a skipped hour, both passes of a repeated one). An unknown zone throws a RangeError when the task is registered.