Skip to content
Node: node-cron4 APIs

cron

Package cron schedules recurring jobs using cron expressions, similar to node-cron. Node equivalent: node-cron

import "github.com/sahilkhaire/gox/cron"
## API reference

Select a symbol below — each page explains what it does, shows Node.js vs Go comparisons, and includes a runnable example.

Functions

SymbolNode.jsKindSummary
ParsefuncParse validates a cron expression (with optional seconds field).

Types

SymbolNode.jsKindSummary
JobIDtypeJobID identifies a scheduled job.
SchedulertypeScheduler runs cron jobs in the background.

Methods

SymbolNode.jsKindSummary
Scheduler.NewmethodNew creates a scheduler and starts its internal runner.

MIT Licensed · Built for Node.js developers moving to Go