# Run durable Go agent schedules with gocron

> Embed gocron in Go-based agents or operators to run recurring tasks, cron expressions, one-time jobs, singleton executions, concurrency limits, and distributed leader-elected schedules.

- Skill: `agentskillexchange/run-durable-go-agent-schedules-with-gocron` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/run-durable-go-agent-schedules-with-gocron`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/run-durable-go-agent-schedules-with-gocron/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/run-durable-go-agent-schedules-with-gocron

---


# Run durable Go agent schedules with gocron

Embed gocron in Go-based agents or operators to run recurring tasks, cron expressions, one-time jobs, singleton executions, concurrency limits, and distributed leader-elected schedules.

## Prerequisites

Go 1.x project using github.com/go-co-op/gocron/v2

## Installation

Basic usage or getting-started notes:
- gocron is a job scheduling package which lets you run Go functions at pre-determined intervals.
- go get github.com/go-co-op/gocron/v2
- golang

- Source: https://github.com/go-co-op/gocron
- Extracted from upstream docs: https://raw.githubusercontent.com/go-co-op/gocron/HEAD/README.md

## Documentation

- https://pkg.go.dev/github.com/go-co-op/gocron/v2

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-durable-go-agent-schedules-with-gocron/)

