icCron Documentation
Autonomous on-chain cron scheduler and HTTP webhook dispatcher running natively on the Internet Computer with sub-second precision.
icCron Documentation
Welcome to the official developer documentation for icCron, the autonomous, serverless on-chain job scheduler and webhook dispatcher engineered natively in Rust on the Internet Computer (w2fxo-5qaaa-aaaan-q6zxq-cai).
icCron replaces centralized cron infrastructure (AWS EventBridge, Google Cloud Scheduler, Vercel Cron Jobs, fragile VPS daemons) with a 100% on-chain, replicated time machine that sleeps at zero cycles between jobs and executes with 1-second consensus precision.
Core Highlights
- Zero Idle Cycle Burn: Native IC Canister Timers sleep until the exact scheduled second, slashing idle cycle consumption by 99.4% compared to legacy heartbeats.
- O(1) Bitmask Scheduler: Standard 5-field cron strings (
* * * * *) are compiled into compact 64-bit/32-bit/16-bit integer bitmasks for microsecond next-tick calculations. - Multi-Language SDK Ecosystem: Official production client libraries for TypeScript/Node.js, Python, Go, Rust, and PHP, alongside standard REST APIs and Candid interfaces.
- Subnet HTTPS Consensus: Outbound webhooks are threshold-signed and dispatched across dozens of independent node providers worldwide.
- Dead Letter Queue (DLQ): Automatic exponential retries and auto-pause circuit breakers prevent credit burn on broken downstream servers.
- Developer Economics: 60 free executions every month per principal, with $0.0005 per run on prepaid ICP credit packs — zero monthly SaaS tax.
Prerequisites
Before getting started, make sure you have:
- An active ICPay account with Internet Identity authentication.
- An icCron Project created via the icCron Dashboard or REST API.
- A generated project-scoped API key (
icp_cron_<64-hex-chars>).
Getting Started
Explore the task-oriented documentation sections below:
Introduction
Decentralized on-chain cron scheduler, sub-second timers, and comparison with AWS EventBridge & Vercel.
Quick Start
Create an API key, schedule your first hourly webhook, and verify execution in under 60 seconds.
Installation
Official SDK packages for npm (TypeScript), pip (Python), Go, cargo (Rust), and composer (PHP).
Multi-Language Integration
Side-by-side runnable code examples across all 5 programming languages with interactive tabs.
Cron Expression Syntax
Standard 5-field syntax, step intervals, day-of-week rules, and O(1) in-memory bitmask compilation.
API Keys & Authentication
SHA-256 hashed API keys, project isolation, and Internet Identity principal access controls.
REST API Reference
Complete HTTP endpoints for creating, listing, pausing, resuming, triggering, and inspecting jobs.
Outcall Consensus Rules
Subnet threshold signatures, deterministic response bodies, and transform_http_response mechanics.
Errors & Dead Letter Queue
Exponential retries, circuit breakers, AutoPausedDormant states, and consensus mismatch debugging.
Frequently Asked Questions
Technical answers on pricing ($0.0005/run), free tier, precision, security, and local development.
Quick Links
Search Documentation
Quickly find developer documentation, API endpoints, guides, and tutorials.