Skip to content

Commit

Permalink
update cron jsdoc example (#1940)
Browse files Browse the repository at this point in the history
* update cron jsdoc example

* update cron jsdoc example
  • Loading branch information
ykethan authored Sep 2, 2024
1 parent 5f48700 commit 038b54d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/moody-kangaroos-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@aws-amplify/backend-function': minor
---

update cron jsdoc example
2 changes: 1 addition & 1 deletion packages/backend-function/src/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
};
Expand Down

0 comments on commit 038b54d

Please sign in to comment.