Documentation ¶ Overview ¶ Package cron reads 5-field cron schedules. Index ¶ func Due(cron string, t time.Time) (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Due ¶ func Due(cron string, t time.Time) (bool, error) Due reports whether the 5-field cron spec (minute hour day-of-month month day-of-week) fires in t's minute. Both day fields restricted means either matches, as in cron. Types ¶ This section is empty. Source Files ¶ View all Source files cron.go Click to show internal directories. Click to hide internal directories.