# RunWisp > One small Go binary that replaces crond + supervisord: it schedules tasks and supervises long-running services, and persists every run's exit code, duration, timestamps, and captured stdout/stderr — browsable and streamable from an embedded Web UI, a TUI, and a REST API. Local-first, offline-complete, zero runtime deps. Every task is defined in a single runwisp.toml; the API and UI are read-only + trigger. ## Agent reference - [RunWisp agent reference](https://docs.runwisp.com/agents/reference.md): Dense, token-optimized full reference — complete runwisp.toml schema, CLI, and REST surface, written for agents. Start here. ## Overview - [RunWisp documentation](https://docs.runwisp.com/index.md): RunWisp runs scheduled jobs and long-running services from one runwisp.toml and records every run with its exit code, duration, and output. One binary, no runtime dependencies. ## Getting started - [Installation](https://docs.runwisp.com/getting-started/quick-start.md): Install RunWisp, create a starter runwisp.toml, run the example task, and open the Web UI. - [Scheduling your first task](https://docs.runwisp.com/getting-started/first-task.md): Replace the starter task with your own cron job, apply it with runwisp reload, run it on demand, and read its output. - [Running a service](https://docs.runwisp.com/getting-started/first-service.md): Keep a long-running process up with a [services.*] block, run several copies, follow its output, and tell a service from a task. - [Handling failures](https://docs.runwisp.com/getting-started/failures.md): See why a run failed, stop runs that hang with a timeout, retry failed runs, and get a Slack or email alert when something breaks. - [Running on a server](https://docs.runwisp.com/getting-started/server.md): Install RunWisp as a system service so it starts on boot, log in to the Web UI with a stable password, and change the config safely. ## Guides - [Tasks and services](https://docs.runwisp.com/concepts/tasks-vs-services.md): The difference between a [tasks.*] and a [services.*] block, and how to pick one for commands that could be either. - [Scheduling](https://docs.runwisp.com/concepts/scheduling.md): Cron syntax, timezones and daylight saving time, catching up after downtime, missed-run alerts, jitter, pausing a schedule, and what happens to runs after a crash. - [Overlapping runs](https://docs.runwisp.com/concepts/concurrency.md): What happens when a task is started while it's already running (the job of flock or a lock file under cron), how to choose between queue, skip, and kill, and when to raise max_concurrent. - [Failures, retries & timeouts](https://docs.runwisp.com/concepts/retries.md): When a run counts as a failure, how to retry failed task runs with a delay and backoff, and how to stop runs that take too long. - [Parameters](https://docs.runwisp.com/concepts/parameters.md): Declare per-run inputs (arguments) on a task with params and fill them in when you start it from the Web UI, TUI, CLI, or REST API. - [Run logs](https://docs.runwisp.com/concepts/logs.md): Where RunWisp keeps each run's output, how size limits and retention work, and how to follow, download, and search logs. - [Web UI](https://docs.runwisp.com/getting-started/web-ui-tour.md): A tour of the RunWisp Web UI. Logging in, the overview page, the runs list and its filters, task detail, the log viewer, and notifications. - [TUI](https://docs.runwisp.com/getting-started/tui-tour.md): A tour of the RunWisp terminal UI. Starting it, the Home, Info, and Debug pages, following a run, reading failures, and keyboard shortcuts. - [Notifications](https://docs.runwisp.com/notifications.md): Get told when a task fails, in the bell or on Slack, Discord, Telegram, a phone push app, email, or a webhook. Add a channel, store its secret, choose which tasks alert where, and test it. - [Slack](https://docs.runwisp.com/notifications/providers/slack.md): Send RunWisp notifications to a Slack channel through an incoming webhook. - [Discord](https://docs.runwisp.com/notifications/providers/discord.md): Send RunWisp notifications to a Discord channel as color-coded embeds through a channel webhook. - [Telegram](https://docs.runwisp.com/notifications/providers/telegram.md): Send RunWisp notifications to a Telegram chat, group, or channel through a bot, including how to find the chat_id. - [ntfy](https://docs.runwisp.com/notifications/providers/ntfy.md): Send RunWisp notifications as phone push alerts through ntfy.sh or your own ntfy server. - [Gotify](https://docs.runwisp.com/notifications/providers/gotify.md): Send RunWisp notifications to your self-hosted Gotify server as push messages. - [Pushover](https://docs.runwisp.com/notifications/providers/pushover.md): Send RunWisp notifications to your phone through Pushover. - [Email (SMTP)](https://docs.runwisp.com/notifications/providers/smtp.md): Send RunWisp notifications by email through any SMTP server, with examples for Gmail, SendGrid, Amazon SES, Mailgun, Postmark, and a local Postfix. - [Email (local MTA)](https://docs.runwisp.com/notifications/providers/sendmail.md): Send RunWisp notifications through the machine's own sendmail binary (Postfix, exim, msmtp, ssmtp), the way cron sent MAILTO mail. No host, port, or password to configure. - [Webhook](https://docs.runwisp.com/notifications/providers/webhook.md): POST RunWisp notifications as JSON to any HTTP endpoint, with custom headers for authentication. - [Docker tasks](https://docs.runwisp.com/recipes/docker.md): Schedule jobs in your Docker containers. Run a command in a running compose service, run a compose service in a fresh container, start one-shot containers, and prune images, with RunWisp on the host or in a container. - [Remote triggers](https://docs.runwisp.com/recipes/remote-trigger.md): Run a RunWisp task on another machine from a script or CI and get its output and exit code back, with runwisp run --url or plain curl. Includes webhooks and deploy hooks from CI. ## Examples - [Nightly backup](https://docs.runwisp.com/recipes/backup.md): A nightly Postgres backup with RunWisp: pg_dump on a schedule, 90 days of history, no overlap, and an alert when a run fails or is missed. - [Health checks](https://docs.runwisp.com/recipes/healthcheck.md): An HTTP health check every 5 minutes with RunWisp. Skips on overlap, retries short blips, and groups repeated alerts during an outage. ## SDKs - [SDKs](https://docs.runwisp.com/sdk.md): Define RunWisp tasks in your app's code. Your callbacks run in your app, and RunWisp schedules them and records every run. - [JavaScript SDK](https://docs.runwisp.com/sdk/javascript.md): Schedule tasks from Node.js or Bun with @runwisp/js. Every run is recorded with its output, exit code and duration, and shown in the web UI. - [Bun](https://docs.runwisp.com/sdk/javascript/bun.md): Run @runwisp/js under Bun, and replace Bun.cron. Every run is recorded with its output, exit code and duration. - [Next.js](https://docs.runwisp.com/sdk/javascript/nextjs.md): Schedule tasks in a self-hosted Next.js app with @runwisp/js, and replace Vercel Cron. Every run is recorded with its output, exit code and duration. - [Nuxt](https://docs.runwisp.com/sdk/javascript/nuxt.md): Schedule tasks in a Nuxt app with @runwisp/js, and replace Nitro's scheduledTasks. Every run is recorded with its output, exit code and duration. - [SvelteKit](https://docs.runwisp.com/sdk/javascript/sveltekit.md): Schedule tasks in a SvelteKit app with @runwisp/js and adapter-node. Every run is recorded with its output, exit code and duration. - [Astro](https://docs.runwisp.com/sdk/javascript/astro.md): Schedule tasks in an Astro app with @runwisp/js and the Node adapter. Every run is recorded with its output, exit code and duration. - [NestJS](https://docs.runwisp.com/sdk/javascript/nestjs.md): Schedule tasks in a NestJS app with @runwisp/js, a drop-in for @nestjs/schedule. Every run is recorded with its output, exit code and duration. - [PHP SDK](https://docs.runwisp.com/sdk/php.md): Schedule tasks from PHP with runwisp/runwisp. Every run is recorded with its output, exit code and duration, and shown in the web UI. - [Laravel](https://docs.runwisp.com/sdk/php/laravel.md): Run Laravel's task scheduler under RunWisp. Every scheduled run is recorded with its output, exit code and duration, and shown in the web UI. - [Symfony](https://docs.runwisp.com/sdk/php/symfony.md): Run Symfony Scheduler schedules under RunWisp. Every scheduled run is recorded with its output, exit code and duration, and shown in the web UI. - [CodeIgniter 4](https://docs.runwisp.com/sdk/php/codeigniter.md): Run CodeIgniter 4's task scheduler (codeigniter4/tasks) under RunWisp. Every scheduled run is recorded with its output, exit code and duration, and shown in the web UI. ## Migrating from cron, supervisord, systemd, docker-compose, or Ofelia - [Migrating to RunWisp](https://docs.runwisp.com/coming-from.md): Move to RunWisp from cron, supervisord, systemd, docker-compose, Ofelia, or node-cron. RunWisp reads or converts your existing config. - [From cron](https://docs.runwisp.com/coming-from/cron.md): Move cron jobs to RunWisp. Take over in one command with runwisp takeover, or convert a crontab with runwisp import cron, then promote jobs into your own runwisp.toml. - [From supervisord](https://docs.runwisp.com/coming-from/supervisord.md): Convert a supervisord config into runwisp.toml with runwisp import supervisord. How each [program] key maps, and what needs a human. - [From systemd](https://docs.runwisp.com/coming-from/systemd.md): Convert systemd .service and .timer units into runwisp.toml with runwisp import systemd. How each directive maps, and what needs a human. - [From docker-compose](https://docs.runwisp.com/coming-from/docker-compose.md): Point RunWisp at an existing docker-compose.yml. Every compose service becomes a RunWisp service, without changing the YAML. - [From node-cron](https://docs.runwisp.com/coming-from/node-cron.md): Swap node-cron for @runwisp/js and keep your schedule() calls. Every run is recorded with its output, exit code and duration, and shown in the web UI. - [From Ofelia](https://docs.runwisp.com/coming-from/ofelia.md): Convert Ofelia jobs (an INI config or ofelia.* compose labels) into runwisp.toml with runwisp import ofelia. How each job type and key maps, and what needs a human. ## Production - [Best practices](https://docs.runwisp.com/operations/best-practices.md): The RunWisp settings worth getting right before you rely on it. Config in git, timeouts, overlap, retention, secrets, the Web UI password, alerts, and containers. - [Running in Docker](https://docs.runwisp.com/getting-started/docker.md): Run the RunWisp daemon in a container with the official runwisp/runwisp image, on its own or next to your app in an existing compose file. Image tags, required settings, volumes, healthcheck, TLS, timezone, and running as non-root. - [Autostart](https://docs.runwisp.com/operations/autostart.md): Start the RunWisp daemon on boot with systemd (Linux, WSL) or launchd (macOS). Install, check, stop and restart, set the password and environment, uninstall. - [Reload & restart](https://docs.runwisp.com/operations/reload.md): Apply runwisp.toml edits to a running daemon with runwisp reload or SIGHUP, and which changes need runwisp restart instead. - [Authentication](https://docs.runwisp.com/operations/auth.md): How the CLI, TUI, Web UI, and REST clients log in to RunWisp; setting the password; running without auth; rate limits; and reverse proxies. - [Daemon log](https://docs.runwisp.com/operations/logging.md): The RunWisp daemon's own stderr log (level, format, timestamps) and the one-line-per-run lifecycle entries it writes. - [Metrics](https://docs.runwisp.com/operations/metrics.md): Scrape RunWisp's OpenMetrics /metrics endpoint from Prometheus, Grafana Agent, or the OpenTelemetry Collector. - [Troubleshooting](https://docs.runwisp.com/operations/troubleshooting.md): Symptom-first fixes for common RunWisp problems. The daemon won't start, a task never fires, config edits aren't picked up, you're locked out, logs are missing, runs pile up, a service is FATAL, notifications don't arrive. ## Configuration reference - [Configuration overview](https://docs.runwisp.com/configuration/overview.md): How runwisp.toml is structured: tasks, services, compose, defaults, daemon, storage, and notifications. - [[tasks.*]](https://docs.runwisp.com/configuration/tasks.md): Every key accepted by a [tasks.] table: cron, run, on_overlap, retries, timeout, retention, params, notifications. - [[services.*]](https://docs.runwisp.com/configuration/services.md): Long-running processes: instances, restarts, health checks, boot order, graceful shutdown, and the keys shared with tasks. - [[compose.*]](https://docs.runwisp.com/configuration/compose.md): Import services from a docker-compose.yml so every service becomes a RunWisp service with logs, restarts, notifications, and start/stop. - [[defaults]](https://docs.runwisp.com/configuration/defaults.md): Fallback values inherited by every task and service unless overridden: timeout, log limits, retention, restart policy, env, failures. - [[daemon]](https://docs.runwisp.com/configuration/daemon.md): Daemon-wide settings: name, shutdown_timeout, timezone, external_url, heartbeat_url, log_output, TLS, metrics, trusted proxies, include, and include_cron. - [[storage]](https://docs.runwisp.com/configuration/storage.md): max_size and min_free_space: the two daemon-wide disk limits that keep RunWisp from filling your partition. - [[notify]](https://docs.runwisp.com/configuration/notify.md): Daemon-wide notification settings: global_notifiers, retry_budget, bell history, and coalescing. - [[[route]]](https://docs.runwisp.com/configuration/routes.md): Notification rules: match run events by kind, failure, and task name, and send them to Slack, Discord, Telegram, ntfy, Gotify, Pushover, email, or a webhook. - [${...} substitution](https://docs.runwisp.com/configuration/substitution.md): Pull values from environment variables or files into any string in runwisp.toml with ${VAR} and ${file:path}. ## Reference - [CLI reference](https://docs.runwisp.com/reference/cli.md): Every runwisp command, flag, and environment variable. - [AI agents](https://docs.runwisp.com/reference/agents.md): What an AI coding agent needs to configure and run RunWisp. The llms.txt index, Markdown pages, the agent reference, the config schema, and the validate/run --json loop. ## Optional - [runwisp.toml JSON Schema](https://docs.runwisp.com/config.schema.json): Machine-readable schema (draft 2020-12) for the config file; also `runwisp schema`. Editors read it via a `#:schema` directive. - [OpenAPI schema](https://docs.runwisp.com/openapi.json): Full REST API specification (OpenAPI 3.1, JSON).