cron
Package cron schedules recurring jobs using cron expressions, similar to node-cron. Node equivalent: node-cron
import "github.com/sahilkhaire/gox/cron"
Select a symbol below — each page explains what it does, shows Node.js vs Go comparisons, and includes a runnable example.
Functions
| Symbol | Node.js | Kind | Summary |
|---|---|---|---|
| Parse | — | func | Parse validates a cron expression (with optional seconds field). |
Types
| Symbol | Node.js | Kind | Summary |
|---|---|---|---|
| JobID | — | type | JobID identifies a scheduled job. |
| Scheduler | — | type | Scheduler runs cron jobs in the background. |
Methods
| Symbol | Node.js | Kind | Summary |
|---|---|---|---|
| Scheduler.New | — | method | New creates a scheduler and starts its internal runner. |