taskx

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

*

  • @copyright www.ruomm.com
  • @author 牛牛-wanruome@126.com
  • @create 2024/8/7 21:50
  • @version 1.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartTask

func StartTask(delaySecs, interSecs int, cmd func())

* 定时任务-异常自动恢复 任务执行开始延时时间,单位秒 任务执行完毕延时时间,单位秒 具体任务

func StartTaskNoRecover

func StartTaskNoRecover(delaySecs, interSecs int, cmd func())

* 定时任务-异常不自动恢复 任务执行开始延时时间,单位秒 任务执行完毕延时时间,单位秒 具体任务

Types

This section is empty.

Jump to

Keyboard shortcuts

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