Skip to content

Commit

Permalink
docs(nextjs): Add alert to cron docs (#11334)
Browse files Browse the repository at this point in the history
  • Loading branch information
chargome committed Sep 13, 2024
1 parent 3415ceb commit 653a941
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platform-includes/crons/setup/javascript.nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ Instrumented cron jobs are decided at runtime by examining the `crons` field in

Set the `automaticVercelMonitors` option to `true` in your Sentry settings in `next.config.js`. See <PlatformLink to="/manual-setup/#opt-out-of-auto-instrumentation-of-vercel-cron-jobs">Manual Setup</PlatformLink> for more details.

<Alert level="warning">
Automatic instrumentation of Vercel cron jobs currently only works for the Pages Router. App Router route handlers are not yet supported.
</Alert>

## Automatic Crons Instrumentation

<Include name="javascript-crons-automatic-crons-instrumentation.mdx" />
Expand Down

0 comments on commit 653a941

Please sign in to comment.