scheduler

package
v0.0.0-...-fbedc61 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Cron global CronScheduler

Functions

func AddCronJob

func AddCronJob(cron models.NewCron) error

AddCronJob func(cron models.NewCron) error

func CheckUrl

func CheckUrl(obj interface{}) error

func DelCronJob

func DelCronJob(cron models.NewCron)

DelCronJob func(cron models.NewCron)

func Execute

func Execute(src string, uuid string, command string, envs []string, args ...string) ([]byte, error)

Execute func(src string, command string, envs []string, args ...string) ([]byte, error)

func InitCron

func InitCron() error

InitCron func()

func PortScan

func PortScan(obj interface{}) error

func Run

func Run(command string, envs []string, args ...string) ([]byte, string, string, error)

Run func(command string, args ...string) ([]byte, string, string, error)

func SSHRun

func SSHRun(obj interface{}) error

func ScanDaemon

func ScanDaemon(obj interface{}) error

func StopCronJob

func StopCronJob(cronName string)

StopCronJob func(cronName string)

func UnregisterCronJob

func UnregisterCronJob(cronName string)

UnregisterCronJob func(cronName string)

func UpdateCronJob

func UpdateCronJob(cron models.NewCron) error

UpdateCronJob func(cron models.NewCron) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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