Skip to content

Commit 653a941

Browse files
authored
docs(nextjs): Add alert to cron docs (#11334)
1 parent 3415ceb commit 653a941

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform-includes/crons/setup/javascript.nextjs.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Instrumented cron jobs are decided at runtime by examining the `crons` field in
77

88
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.
99

10+
<Alert level="warning">
11+
Automatic instrumentation of Vercel cron jobs currently only works for the Pages Router. App Router route handlers are not yet supported.
12+
</Alert>
13+
1014
## Automatic Crons Instrumentation
1115

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

0 commit comments

Comments
 (0)