Migration Guide
Remove the SDK dependency. Get AI diagnostics and escalation policies.
In your codebase, search for schedules.task() or schedules.cron() calls in your Trigger.dev tasks.
# Find scheduled tasks grep -r "schedules" src/ --include="*.ts"
For each scheduled task, identify what HTTP endpoint it's calling or what external action it's performing.
If the task calls your own code, create an HTTP route that performs the same action.
// app/api/cron/process/route.ts
export async function POST(req: Request) {
// same logic as your Trigger.dev task
await processQueue();
return Response.json({ ok: true });
}Create a JustRun job for each task: same cron expression, HTTP endpoint URL. Add the CLI: npx @justrun/cli create.
Remove the schedules.task() definitions from your codebase. Uninstall @trigger.dev/sdk if no longer needed.
Those features (durable waits, subtasks) don't have JustRun equivalents. Use job chains for simple sequential flows, or keep Trigger.dev for tasks that genuinely need durable orchestration.
Only if other tasks still use @trigger.dev/sdk. Remove the package only once all scheduled tasks are migrated.