O10 · Safe Cron Go Scheduler · PostgreSQL · Single-Flight Leases

The HTTP Cron runner that knows when a retry is dangerous.

Idempotent GET /health checks should be retried aggressively. Non-idempotent POST /billing/charge mutations must never be retried once bytes have left the TCP socket. FourWay gives you per-job retry_safe control and native 429 Retry-After compliance.

1-Click Job Launcher 5 jobs free forever
Templates:
Interactive Fault Simulator

See how FourWay differs from a naive cron runner on the wire.

Select an upstream failure mode below and toggle retry_safe to inspect the socket-level decision trace.

Standard Blind-Retry Scheduler Dangerous on POST

    FourWay Safe Cron Engine Socket-aware

      Framework & Stack Recipes

      Replace fragile platform crons in 2 minutes.

      Keep your existing HTTP route handlers. Point FourWay at your endpoint and verify the Bearer token or idempotency header.

      Vercel Hobby limits cron to once per day and never respects Retry-After. Expose an App Router route and schedule it every 1 or 5 minutes with retry_safe: false:

      // app/api/cron/reconcile/route.ts
      import { NextResponse } from 'next/server';
      
      export async function POST(req: Request) {
        const auth = req.headers.get('authorization');
        if (auth !== `Bearer ${process.env.FOURWAY_CRON_SECRET}`) {
          return NextResponse.json({ error: 'unauthorized' }, { status: 401 });
        }
        // Safe: FourWay with retry_safe=false guarantees it will NOT re-POST if this times out after write
        await runBillingReconciliation();
        return NextResponse.json({ ok: true, ts: Date.now() });
      }