From 038b54d3e0176a1ee75f20e865cb47820f48ae57 Mon Sep 17 00:00:00 2001 From: Kethan sai Date: Mon, 2 Sep 2024 05:58:20 -0400 Subject: [PATCH] update cron jsdoc example (#1940) * update cron jsdoc example * update cron jsdoc example --- .changeset/moody-kangaroos-nail.md | 5 +++++ packages/backend-function/src/factory.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/moody-kangaroos-nail.md diff --git a/.changeset/moody-kangaroos-nail.md b/.changeset/moody-kangaroos-nail.md new file mode 100644 index 0000000000..ccd0bbfdbc --- /dev/null +++ b/.changeset/moody-kangaroos-nail.md @@ -0,0 +1,5 @@ +--- +'@aws-amplify/backend-function': minor +--- + +update cron jsdoc example diff --git a/packages/backend-function/src/factory.ts b/packages/backend-function/src/factory.ts index 3feefb4b78..269af14279 100644 --- a/packages/backend-function/src/factory.ts +++ b/packages/backend-function/src/factory.ts @@ -118,7 +118,7 @@ export type FunctionProps = { * @example * schedule: "every week" * @example - * schedule: "0 9 * * 2" // every Monday at 9am + * schedule: "0 9 ? * 2 *" // every Monday at 9am */ schedule?: FunctionSchedule | FunctionSchedule[]; };