schedule

package
v1.0.1006 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ScheduleCmd = &command.Command{
	Use:          "lakego:schedule",
	Short:        "执行计划任务。",
	Example:      "{execfile} lakego:schedule",
	SilenceUsage: true,
	PreRun: func(cmd *command.Command, args []string) {
	},
	Run: func(cmd *command.Command, args []string) {

	},
}

*

  • 执行计划任务 *
  • > ./main lakego:schedule
  • > main.exe lakego:schedule
  • > go run main.go lakego:schedule *
  • @create 2022-11-30
  • @author deatil

Functions

func NewScheduleCmd

func NewScheduleCmd(s *schedule.Schedule) *command.Command

构造函数

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL