Documentation ¶
Index ¶
- Constants
- Variables
- func GetDayExplain(days, hours, minutes, seconds int) string
- func GetDaySpec(day, hours, minutes, seconds int) string
- func GetHourExplain(hours, minutes, seconds int) string
- func GetHourSpec(hours, minutes, seconds int) string
- func GetMinuteExplain(minutes, seconds int) string
- func GetMinuteSpec(minutes, seconds int) string
- func GetSecondExplain(seconds int) string
- func GetSecondSpec(seconds int) string
Constants ¶
View Source
const (
Version = "1.0.0"
)
Variables ¶
View Source
var ( YearlySpec = "0 0 0 1 1 *" YearlyExplain = "每年一次,1 月 1 日午夜执行一次" AnnuallySpec = "0 0 0 1 1 *" AnnuallyExplain = "每年一次,1 月 1 日午夜执行一次" MonthlySpec = "0 0 0 1 * *" MonthlyExplain = "每月执行,午夜,月初执行一次" WeeklySpec = "0 0 0 * * 0" WeeklyExplain = "每周执行,周六和周日之间的午夜执行一次" DailySpec = "0 0 0 * * *" DailyExplain = "每天午夜执行一次" MidnightSpec = "0 0 0 * * *" MidnightExplain = "每天午夜执行一次" HourlySpec = "0 0 * * * *" HourlyExplain = "每小时运行,每小时开始执行一次" )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.