Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InWindow ¶ added in v1.4.0
InWindow reports whether the cron spec matches the minute that contains now, evaluated in the spec's CRON_TZ zone (or now's own location when the spec has no zone prefix). With a seconds field, any matching second inside the minute counts. An empty or invalid spec returns an error: callers must fail closed.
Types ¶
Click to show internal directories.
Click to hide internal directories.