# GoCron

GoCron is a self-hosted task scheduler with a web interface, built with Go and Vue.js.

Canonical page: https://ourlocalhost.com/app/8081/gocron

## Description

GoCron is a self-hosted task scheduler with a web interface, built with Go and Vue.js. Jobs are defined in a simple YAML file and run on cron schedules, with support for per-job environment variables and a SQLite-backed web UI for managing them. It suits homelab users who want a lightweight, visual way to automate recurring tasks instead of editing raw crontabs.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

75/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 8 days ago)
- Popular: 56 (627 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 100 (no serious findings, CI, tests)

## Links

- GitHub: https://github.com/flohoss/gocron

## Common questions

### Do I need to restart GoCron after changing my jobs?

No. GoCron automatically picks up changes to config.yaml without a restart.

### Where does GoCron store its data?

Run history and logs persist in a local SQLite database, and configuration lives in the mounted /app/config directory.

### Does GoCron support single sign-on?

Yes, GoCron supports optional OIDC single sign-on.

### What port does GoCron use?

The web UI and API listen on port 8156, which is what you map in Docker.

### Can I set default settings that apply to all jobs?

Yes, jobs inherit a default cron, timeout, retries, env vars, and pre/post commands from the job_defaults section.

### Can GoCron alert me when a job fails?

Yes, it supports HTTP health-check callbacks at job start, end, and failure for alerting.

## Alternatives

- GitHub Actions: An experimental Docker image that runs self-hosted GitHub Actions runners with Docker support for CI teams whose jobs require containers.

---
Source: Our Local Host (https://ourlocalhost.com/app/8081/gocron), the self-hosted and open-source app directory.
