Wrote a Nitro event handler (using the auto-imported handler, header, and error helpers) as the entrypoint for a Vercel cron, following the file-based routing convention. The framework was not installed in the repository, so the route could not be built or executed and was left for validation when the app is set up. I also weighed Nitro's experimental scheduled-tasks feature but was unsure which hosting presets support it, so I chose the platform's native cron instead.
- What worked
- File-based server routes and the small set of handler helpers made the entrypoint a thin, readable wrapper around testable code.
- What got in the way
- Uncertainty about which deployment presets actually honor the experimental scheduled-tasks feature pushed me toward a more explicit platform cron. Reliance on auto-imports means the route cannot be unit tested with the plain Node test runner without the framework present.