gocron
A task scheduler built with Go and Vue.js that allows users to specify recurring jobs via a simple YAML configuration file. The scheduler reads job definitions, executes commands at specified times using cron expressions, and passes in environment variables for each job.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: The official repository page could not be fetched this time, so the content below was compiled from existing knowledge and only includes information I am fairly confident about. For specific configuration fields, image names, the license and the latest features, please refer to the README in the GitHub repository (https://github.com/flohoss/gocron).
Introduction
gocron is an open-source project on GitHub maintained by flohoss. It is a self-hosted job scheduling tool. The backend is written in Go and the frontend is built with Vue.js. The idea is to define all recurring tasks in one place using a simple YAML configuration file, such as the schedule for each job (a cron expression), the commands to run and the environment variables they need. Once the program reads the configuration, it runs the jobs automatically on schedule and shows the jobs and their execution status in a web interface.
Main Features
- Declarative YAML configuration: All jobs are written in a single configuration file, which makes them easy to read, back up and put under version control.
- Cron expression scheduling: Set execution times using standard cron syntax.
- Environment variable injection: Pass environment variables to each job separately, so the same set of commands can be reused in different scenarios.
- Multi-command jobs: A single job can run several commands in sequence.
- Web interface: View the job list, execution status and run logs, and trigger jobs manually.
Target Users and Use Cases
It suits self-hosting enthusiasts, home server users and system administrators. If you want to manage crontab scripts scattered across different places in one spot, and also want an interface where you can see the results of each run, it is a good fit. Common uses include scheduled backups (for example, together with tools such as restic, rclone and rsync), regular cleanup and maintenance scripts, and data synchronization.
Key Advantages
- Centralized, clear configuration that is easier to maintain than scattered system crontabs.
- A visual interface and logs make it easier to troubleshoot failed jobs.
- Written in Go with low resource usage, so it is well suited to running long term on a NAS or a small server.
Deployment
The project mainly recommends deploying with Docker / Docker Compose:
- Prepare a YAML configuration file with your jobs, including their cron expressions, commands and environment variables.
- Mount the configuration directory into the container, then start the container.
- Open the mapped port in your browser to access the web interface and view and manage your jobs.
For the specific image name, port and configuration fields, please refer to the repository README and the example configuration.
Technical Requirements
- A Linux host that can run Docker (both x86 and ARM devices are worth considering, depending on the architectures the official image actually supports).
- The command-line tools called by your jobs must be available in the runtime environment.
Notable Characteristics
It combines configuration-as-code YAML management with a lightweight web monitoring interface. It can serve as a replacement for traditional crontab or heavier scheduling platforms, and suits individuals or small teams automating tasks.
Discover more
Activepieces
No-code business automation tool like Zapier or Tray. For example, you can send a Slack notification for each new Trello card.
Dittofeed
Omni-channel customer engagement and messaging automation platform (alternative to Braze, Customer.io, Iterable).
GameAP
High-performance, free and open-source game server management panel. Pterodactyl and Pelican alternative
HomeButler
🏠 Tells you what changed on your server — only what's worth telling. Single Go binary, no database, nothing running on the machines it watches. MCP server built in.
WatchYourLAN
Lightweight network IP scanner written in Go. With notifications, history, export to Grafana
Apache Airflow
Platform to programmatically author, schedule, and monitor workflows.