gocron

gocron

Cron-style task scheduler with YAML job definitions and Vue web UI

495stars
15forks
Last commit: 15d ago
Repo age: 1y old

gocron is a lightweight task scheduler that executes recurring jobs defined in a YAML configuration. It combines a Go backend with a Vue.js frontend, supports cron expressions for timing, and exposes an API for job management.

Key Features

  • YAML configuration file to define defaults, multiple jobs, cron schedules, environment variables, and sequential commands per job
  • Cron expression support for precise scheduling and per-job overrides
  • Per-job environment variables passed into executed commands
  • Web UI built with Vue.js for viewing and managing jobs, plus API documentation and endpoints
  • Docker and Docker Compose friendly deployment with a ready container image
  • Ability to include and manage common backup tools via configuration (apprise, borgbackup, restic, rclone, rsync, kopia, etc.)

Use Cases

  • Schedule regular system maintenance tasks, updates, and cleanup scripts on a single host
  • Run automated backup jobs using configured backup tools at defined intervals
  • Execute periodic data collection, reporting, or integration scripts in homelabs and small server environments

Limitations and Considerations

  • Not designed as a distributed or highly-available scheduler; primarily single-node operation
  • Job execution runs commands on the host where the service is deployed, so isolation and security depend on container/host configuration
  • Lacks built-in enterprise features like clustering, advanced retry/backoff policies, and multi-tenant RBAC

gocron is suited for users who need a simple, file-driven scheduler with a web UI and Docker deployment. It is practical for homelabs, single-server automation, and scheduled backup workflows where lightweight configuration and local command execution are sufficient.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Apache Airflow

Apache Airflow

Platform to author, schedule, and monitor workflows as code

43.9k
16.3k
Last commit: 19h ago

Apache Airflow is a workflow orchestration platform to define, schedule, and monitor data pipelines and other batch jobs using Python-defined DAGs.

Alternative to:
Astronomer
Astronomer
+5
Portainer

Portainer

Web UI and API for managing Docker and Kubernetes environments

36.2k
2.8k
Last commit: 2d ago

Lightweight web-based platform to manage Docker, Swarm and Kubernetes resources with a GUI and API, including access control and multi-environment operations.

Alternative to:
Portainer Business Edition (Portainer Cloud)
Portainer Business Edition (Portainer Cloud)
+6
Dokploy

Dokploy

Self-hosted PaaS to deploy and manage containerized apps and databases.

29.1k
1.9k
Last commit: 1d ago

Open-source self-hostable PaaS for deploying containerized applications and managing databases with Docker Compose, Traefik, monitoring, and backups.

Alternative to:
Vercel
Vercel
+9
Kestra

Kestra

Open-source, event-driven workflow orchestration and scheduling platform

26.2k
2.5k
Last commit: 3d ago

Declarative, API-first orchestration platform for scheduled and event-driven workflows with a plugin ecosystem, UI editor, CI/CD and Terraform integration.

Alternative to:
Dagster Cloud
Dagster Cloud
+16
XPipe

XPipe

Connection hub and remote file manager for managing server infrastructure

13.5k
517
Last commit: 22h ago

Desktop application that centralizes SSH, containers, VMs, Kubernetes and remote file management; integrates local CLI tools and syncs connection data via git.

Alternative to:
MobaXterm
MobaXterm
+6
Coder

Coder

Self-hosted cloud development environments for teams and agents

12k
1.1k
Last commit: 21h ago

Open-source platform to provision secure, self-hosted developer workspaces (VMs, containers, Kubernetes) defined in Terraform, with IDE integrations and AI agent support.

Alternative to:
Coder (Coder Cloud)
Coder (Coder Cloud)
+6