Documentation ¶
Overview ¶
Package scheduler provides ability to create scheduled job
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateScheduler ¶
func CreateScheduler(log log.T, task func(), frequencyInMinutes int) (job *scheduler.Job, err error)
CreateScheduler runs a given poll job every pollFrequencyMinutes
func ScheduleNextRun ¶
ScheduleNextRun skips waiting and schedule next run immediately
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.