Function schedule

  • Create a new scheduled task.

    Parameters

    • namespace: string

      The namespace for this task, register a handler for the namespace using Script.registerTaskHandler

    • execute_at: Date

      When to execute this task

    • Optional opts: Omit<CreateOptions<any>, "executeAt">

      Additional optional options, see CreateOptions for more info.

    Returns Promise<ScheduledTask>

    The scheduled task

    Deprecated

    Deprecated in favor of new task bucket API. See Script.createTaskBucket

Generated using TypeDoc