Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ Namecheap
ParcelJS
treeshaking
scaffolded
IANA
6 changes: 5 additions & 1 deletion src/views/docs/en/reference/project-manifest/scheduled.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Define EventBridge schedule expressions with Lambda handler functions.
- Dashes, periods, and underscores are allowed
- Must begin with a letter
- Followed by a valid `rate` or `cron` expression ([more info here](https://docs.aws.amazon.com/lambda/latest/dg/tutorial-scheduled-events-schedule-expressions.html))
- Optional IANA `timezone` property ([more info here](https://time.now/iana-time-zone/)). The timezone in which the scheduling expression is evaluated.

Scheduled functions can use more verbose configuration to allow for [custom source paths](../../guides/developer-experience/custom-source-paths) in your project. Provide a `rate` or `cron` and `src` for each event.

Expand All @@ -38,6 +39,7 @@ friyay-only cron(0 15 ? * FRI *)
annual-review
rate 1 year
src custom/source
timezone US/Pacific
```

</div>
Expand All @@ -55,7 +57,8 @@ annual-review
"friyay-only": "cron(0 15 ? * FRI *)" },
"annual-review": {
"rate": [1, "year"],
"src": "whatever/schedueld/dir/you/want"
"src": "whatever/schedueld/dir/you/want",
"timezone": "US/Pacific"
}
}
```
Expand All @@ -79,6 +82,7 @@ scheduled:
- 1,
- year
src: "custom/source"
timezone: "US/Pacific"
```

</div>
Expand Down
Loading