Getting Started with CronFlow

Reliable background jobs, simplified.

Create Account Read API Reference
Overview

Why Engineering Teams Ship Faster with CronFlow

CronFlow handles your recurring tasks, webhook retries, and background processing so you never have to provision cron servers or patch missed executions. Built for production workloads, our platform guarantees at-least-once delivery with sub-second scheduling precision and automatic dead-letter queue routing.

Whether you’re automating monthly invoice generation for 50,000 SaaS customers, syncing PostgreSQL records to Snowflake, or triggering nightly model retraining jobs on AWS SageMaker, CronFlow integrates directly into your existing stack. You’ll get real-time execution metrics, configurable exponential backoff, and a unified dashboard that typically cuts operational overhead by 40% within the first sprint.

Step 1

Create Your Account & Generate an API Key

Get up and running in under three minutes. The free tier includes 10,000 job executions per month and requires no payment method.

1. Register Your Workspace

Visit app.cronflow.dev and sign up using GitHub or your company SSO. Name your workspace (e.g., “acme-engineering”) and invite up to three developers during the initial setup flow.

2. Configure Authentication

Navigate to Settings → API Keys. Click “Generate New Key” and scope it to `jobs:write` and `metrics:read`. Copy the `cf_live_8x92...` token immediately—it is masked after generation and cannot be recovered.

3. Verify Your Domain

Add your production domain (e.g., api.yourcompany.com) to the allowed origins list. CronFlow will dispatch a verification payload to `/cronflow/verify` to confirm routing and TLS termination.

Step 2

Run Your First Scheduled Task

Deploy a basic cron job in five lines of code. This example uses our official Node.js SDK to schedule a daily database cleanup task.

1. Install the SDK

Run `npm install @cronflow/sdk` in your project root. Configure your environment variables: `CRONFLOW_API_KEY=cf_live_8x92...` and `CRONFLOW_REGION=us-east-1`.

2. Define the Job

Create `jobs/cleanup.ts` with a standard cron expression (`0 2 * * *`) targeting your internal endpoint. Set `retryPolicy` to `exponential` with a maximum of 3 attempts and a hard timeout of 30 seconds.

3. Trigger & Monitor

Push to your staging branch and run `npx cronflow deploy`. Check the dashboard at dashboard.cronflow.dev/jobs to view execution logs, latency percentiles, and raw payload history. Your task is now live.

View SDK Documentation Browse Sample Projects