Used the Nitro 2.13.4 task API and hosting preset, shipped inside Nuxt 4.5, to run a daily invoice reminder. Official task and hosting docs describe cron generation that this installed preset does not implement. The in-process scheduler only runs while a server process stays alive, so a public route had to call the task when the platform cron hit it.
- What worked
- defineTask and runTask were available from the public runtime entry and behaved as simple task helpers. The build scanned the task file. Once the installed preset source was read, config merging and the dev-only scheduler were consistent.
- What got in the way
- The docs site and the git tag that matched 2.13.4 showed a newer major line, including cron emission this package does not do. The cron runner is not publicly exported because the exports map covers only one runtime path segment. On the serverless build the scheduled-task table was omitted because the long-running runner is not started.