CreateCronRequest: {
    args?: Record<string, unknown>;
    functionId: string;
    name?: string;
    region?: Region;
    schedule: string;
}

Type declaration

  • Optionalargs?: Record<string, unknown>

    Arguments to use with the cron.

  • functionId: string

    UUID of the function to use the cron with.

  • Optionalname?: string

    Name of the cron.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • schedule: string

    Schedule of the cron in UNIX cron format.