Skip to content

fix: update fwf cron job doc #1544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion content/wasm-functions/using-cron-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Let’s create a cron job that triggers your Spin application every 5 minutes wi

> Note that you can have multiple cron jobs per Spin application as long as the combination of **schedule** and **path and query*** is unique. You might want multiple cron jobs in a single Spin application when different tasks need to run on separate schedules or require different logic. For example, you may want your Spin appliation to fetch different types of data, perform distinct maintenance routines, or sync with multiple external services independently.

In this example, we’ll schedule a job to hit the `/*` path with a msg query parameter set to "fwf" every 5 minutes, for a Spin app named hello-world.
In this example, we’ll schedule a job to hit the `/` path every 5 minutes, and name it `cron-job-1`. The job will created for the `hello-world` Spin app.

<!-- @selectiveCpy -->

Expand Down
Loading