On-chain cron and webhook scheduler

Schedule HTTP webhooks and canister calls on the Internet Computer. Deterministic 1-second timers with automatic retries — no servers to run and no private keys to store.

$0.0005

Per run

60 free

Runs / month

1s tick

13-node subnet

npm install icpay-cron
import {
  IcCronClient,
} from "icpay-cron"

const cron = new IcCronClient({
  apiKey: process.env.ICCRON_KEY,
})

await cron.createJob({
  label: "stripe-invoice-sync",
  cronExpression: "0 * * * *",
  target: {
    type: "HttpWebhook",
    url: "https://api.my-app.com/v1/sync",
  },
})

Why we built icCron

Developers shouldn't have to pay enterprise SaaS markups or manage fragile server fleets just to run scheduled background tasks.

Cost & Markups

The Vercel $20/mo Cron Tax

98.2% Less

Hourly cron on Vercel requires Pro at $240/yr. icCron runs the same hourly job for $4.32/yr.

Reliability

Fragile 24/7 Keeper Bots

Zero Downtime

No servers to babysit. Jobs run inside a canister replicated across 13 subnet nodes.

Security

Hot Private Key Exposure

Zero Hot Keys

No private keys in .env files. icCron calls canisters as its own authenticated principal.

Simplicity

AWS Cloud Sprawl & IAM

30s Setup

No EventBridge, IAM, or SQS setup. Paste a URL or canister ID, set a schedule, done.

How icCron works

icCron runs your schedule in a canister on the Internet Computer and calls your endpoint when a job is due.

  1. Step 1

    Create a job

    Set a cron expression and a target HTTPS endpoint or canister method.

  2. Step 2

    Wait

    A canister timer sleeps at 0 cycles and wakes at the scheduled due time.

  3. Step 3

    Call

    icCron sends a threshold-signed HTTPS outcall or an inter-canister call.

  4. Step 4

    Review

    Inspect latency, return payloads, retries, and dead letter queue logs.

Architecture

What runs your jobs, and why they keep running when a node goes down.

Rust canister

Built in memory-safe Rust with stable structures. Schedules, logs, and balances survive every canister upgrade.

Canister timers

Native IC timers sleep at zero cycles between runs and wake with one-second consensus precision.

HTTPS outcalls

Threshold-signed HTTP and canister calls execute across thirteen subnet nodes without any keeper bots.

Retries and DLQ

Configurable exponential backoff protects targets while failed jobs move into a dead letter queue cleanly.

SDK query latency

Three listJobs query calls per SDK, measured from US East on November 2026.

npm (Node.js)

npm (Node.js)

fetch (keep-alive)

243.6 ms

Warmest

Call 1

1,010.9

Call 2

243.6

Call 3

254.2

Avg

502.9

Rust

Rust

reqwest::Client (pooled)

229.2 ms

Warmest

Call 1

1,195.6

Call 2

322.3

Call 3

229.2

Avg

582.4

Go

Go

http.Client (pooled)

161.4 ms

Warmest

Call 1

1,122.2

Call 2

512.1

Call 3

161.4

Avg

598.6

PHP

PHP

curl_init per request

499.7 ms

Warmest

Call 1

600.2

Call 2

788.8

Call 3

499.7

Avg

629.6

Python

Python

urllib.request (new socket)

782.8 ms

Warmest

Call 1

1,333.4

Call 2

1,223.2

Call 3

782.8

Avg

1,113.1

Quickstart

Create your first job from code in a few lines. Pick your stack.

import { IcCronClient } from "icpay-cron";

const client = new IcCronClient({
  apiKey: process.env.ICCRON_API_KEY,
});

const job = await client.createJob({
  label: "Hourly Database Sync",
  cronExpression: "0 * * * *",
  target: {
    type: "HttpWebhook",
    url: "https://api.my-app.com/v1/sync",
    method: "POST",
    headers: [
      ["X-Webhook-Secret", "env_prod_secret"],
    ],
  },
});

const logs = await client.getProjectLogs();
npm / TypeScript
icpay-cron

npm / TypeScript

Pricing calculator

Hourly jobs at $0.0005 per run.

Hourly jobs

1

$0.36

/ month · 720 runs

Frequently asked questions

Timing, failures, security, and cost — answered.

Linux cron and node-cron run on a single host. If that machine runs out of memory, reboots for a kernel update, or experiences a network partition, jobs fail silently. icCron runs as a replicated state machine on the Internet Computer blockchain across independent node providers worldwide, providing 100% uptime with zero server maintenance.

Schedule your first job in 30 seconds

Sign in with Internet Identity and get 60 free runs every month.

  • No credit card required
  • $0.0005 per execution
  • 1-second precision