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
Parse—funcParse validates a cron expression (with optional seconds field).

Types ​

SymbolNode.jsKindSummary
JobID—typeJobID identifies a scheduled job.
Scheduler—typeScheduler runs cron jobs in the background.

Methods ​

SymbolNode.jsKindSummary
Scheduler.New—methodNew creates a scheduler and starts its internal runner.

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