# CronLite > Self-hosted cron-as-a-service with scheduled webhooks, retries, HMAC signing, Admin UI, MCP tools, and Tailscale delivery to private services. Go + PostgreSQL. CronLite is free and open source (AGPL-3.0). You run it yourself: clone the repository and run ./scripts/dev.sh to start PostgreSQL, migrations, an API key, and the Admin UI in one step, or use Docker Compose. Jobs are managed through a REST API, a built-in Admin UI, or MCP tools for AI agents. Delivery is at-least-once; receivers deduplicate with the X-CronLite-Execution-ID header. ## Guides - [Self-hosted cron with Docker and PostgreSQL](https://cronlite.io/guides/self-hosted-cron/): Start CronLite and PostgreSQL with one script or Docker Compose, get a namespace API key, and schedule your first webhook. Plus multi-instance requirements. - [Schedule HTTP webhooks with cron, retries, and HMAC signing](https://cronlite.io/guides/scheduled-webhooks/): Use CronLite's REST API to schedule timezone-aware webhooks, verify HMAC signatures, inspect executions, and deduplicate retry deliveries. - [Manage cron jobs with the CronLite Admin UI](https://cronlite.io/guides/admin-ui/): Explore CronLite's built-in Job Control Center: searchable jobs, readable schedules, saved views, bulk pause/resume, API keys, and execution history. - [Connect AI agents to CronLite's MCP cron scheduler](https://cronlite.io/guides/mcp-server/): Connect Claude or another MCP client to CronLite over Streamable HTTP or stdio. Create, inspect, pause, resume, and trigger jobs with ten native tools. - [Schedule webhooks to private services over Tailscale](https://cronlite.io/guides/tailscale/): Run CronLite on your Tailscale tailnet: deliver cron webhooks to services with no public address, serve Admin, API and MCP privately, and sign in as your identity. ## FAQ ### What is CronLite? CronLite is a free, open-source, self-hosted cron-as-a-service. A single Go service backed by PostgreSQL stores your recurring jobs and, on each cron schedule, sends an HMAC-signed HTTP POST to the webhook URL you chose, with automatic retries, Prometheus metrics, an optional Admin UI, and native MCP tools for AI agents. ### What is a good self-hosted alternative to hosted cron and scheduled-webhook services? CronLite is an open-source option you run on your own infrastructure with Docker Compose or a single Go binary plus PostgreSQL. It provides timezone-aware schedules, signed webhook delivery, retries, and execution history, without sending your job definitions or secrets to a third party, and it can call private services that a public SaaS cannot reach. ### How is CronLite different from crontab or Linux cron? Crontab runs shell commands on one machine and keeps no shared history; CronLite schedules HTTP webhooks from a service. Jobs live in PostgreSQL and are managed over a REST API, Admin UI, or MCP; every run is recorded with its delivery attempts; failed deliveries are retried; and several instances can share one database with automatic leader failover, so a single dead server does not silently stop your jobs. ### How do I schedule an HTTP request or webhook on a cron schedule? Send POST /jobs to CronLite with a name, a five-field cron expression, an IANA timezone, a webhook_url, and optionally a webhook_secret. CronLite then sends a POST to that URL on every matching minute and records each execution, which you can list with GET /jobs/{id}/executions. The same job can be created from the Admin UI or by an AI agent through the create-job MCP tool. ### Does CronLite support timezones and per-minute schedules? Yes. Each job has its own IANA timezone, such as America/New_York or Europe/Paris, and standard five-field cron expressions down to every minute. Schedules can also be described in plain language, for example "every weekday at 9am", and resolved to cron with POST /schedules/resolve, which also previews upcoming run times. ### What happens when a webhook delivery fails? CronLite retries up to four attempts with backoff: immediately, then after 30 seconds, 2 minutes, and 10 minutes. 5xx responses, 429 responses, and network errors are retried; other 4xx responses are not. A per-URL circuit breaker stops retry storms against an endpoint that keeps failing, and every attempt is stored for inspection. ### Can a CronLite webhook be delivered more than once? Yes, delivery is at-least-once. Retries, restart catch-up, and orphan recovery can deliver the same execution again, so receivers should deduplicate with the X-CronLite-Execution-ID header, which stays the same across every attempt for one scheduled run. ### How do I verify that a webhook came from CronLite? Each delivery carries an X-CronLite-Signature header containing the hex HMAC-SHA256 of the raw request body, keyed with the job's webhook secret. Compute the same HMAC in your receiver and compare the two values in constant time before trusting the payload. ### Can CronLite run with high availability across multiple instances? Yes. With DISPATCH_MODE=db, any number of instances share one PostgreSQL database. A PostgreSQL advisory lock elects one leader to run the scheduler and reconciler, all instances serve the API and dispatch webhooks using SKIP LOCKED row claims, and a follower takes over within seconds if the leader dies. ### Can AI agents create and manage cron jobs with CronLite? Yes. Every CronLite instance serves the Model Context Protocol at /mcp over Streamable HTTP, and a stdio proxy is available for clients such as Claude Desktop. Ten tools let an agent create, list, update, pause, resume, trigger, and delete jobs, check next run times, and turn natural-language schedules into cron, all scoped to the API key's namespace. ### Can CronLite call private or internal services that are not on the public internet? Yes, explicitly. By default CronLite blocks webhooks to private, loopback, and link-local addresses to prevent SSRF. You can allow named internal hostnames with WEBHOOK_ALLOWED_PRIVATE_SUFFIXES, or build CronLite with Tailscale support so it joins your tailnet as an embedded node and calls services by their MagicDNS names without opening any port. ### Does CronLite have a web dashboard? Yes. Set ADMIN_ENABLED=true to serve an optional, server-rendered Admin UI at /admin. It lets you search and filter jobs, edit schedules, pause, resume, or trigger runs, review executions and delivery attempts, build schedules with a preview of the next runs, and manage API keys. It works without JavaScript and needs no separate frontend service. ### What do I need to run CronLite, and is it free? You need Docker and a PostgreSQL database. Clone the repository and run ./scripts/dev.sh to start PostgreSQL, apply migrations, create an API key, and launch CronLite with the Admin UI in one step (it needs Go 1.25+); without Go, docker compose up -d starts the same stack. CronLite is free and open source under the AGPL-3.0 license and has no paid tier; you run it on your own servers or cloud. ## Source - [CronLite on GitHub](https://github.com/djlord-it/cronlite): source code, README, and OpenAPI spec - [Operators guide](https://github.com/djlord-it/cronlite/blob/main/OPERATORS.md): configuration, scaling, security hardening, and alerting