Documentation
¶
Index ¶
Constants ¶
View Source
const ( Work nudgeStage = iota BreakReminder ShortBreak LongBreak Overtime )
Variables ¶
This section is empty.
Functions ¶
func FindActiveWindowTitle ¶
func FindActiveWindowTitle() string
func MatchSchedule ¶
Parse and match cron schedule definition ┌───────────── minute (0 - 59) │ ┌───────────── hour (0 - 23) │ │ ┌───────────── day of the month (1 - 31) │ │ │ ┌───────────── month (1 - 12) │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; │ │ │ │ │ 7 is also Sunday on some systems) │ │ │ │ │ │ │ │ │ │ * * * * * Each value may specify an interval, e.g.: * 18-08 * * 1-5 Translates to this: from 18 till 8 from Monday till Friday
func ValidateSchedule ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.