Giter Club home page Giter Club logo

eyy-crontab's Introduction

易语言 Crontab 模块源码

项目简介

使用易语言语言开发的轻量级定时任务模块, 用于支持windows没有crontab的替代产物

预览

image

功能特性

  1. 支持通用Crontab时间格式文本
  2. 支持秒年级别规则
  3. 支持多任务管理
  4. 支持任务暂停,继续,停止,开始

格式

  1. 5位定时任务参数为 分钟级别
  2. 6位定时任务参数则是在尾部增加年参数
  3. 7位定时任务则在6位的基础上在第一位增加秒格式

使用方式

  1. 解析表达式 gCrontabParse.Parse (cron, crontabRunner)
  2. 添加到多任务处理中心 mCrontabMulit.AddRunner (crontabRunner, <任务名称 唯一>, 到整数 (&回调方法) 回调方法 参数 nextTime,crontabParseHandle,nameAddr,textAddr 整数型
.版本 2

.子程序 func, , ,  测试回调地址
.参数 nextTime, 整数型, , 触发时间
.参数 crontabParseHandle, 整数型
.参数 nameAddr, 整数型,  , 任务名称地址
.参数 textAddr, 整数型, , 触发索引
.局部变量 text, 文本型
.局部变量 name, 文本型

name = 指针到文本 (nameAddr)
text = 指针到文本 (textAddr)

更新记录

v3.0

  • 第一版 支持单个任务 多个任务需要自行实例化多个类

v3.1

  • 增加多任务监控
  • 剥离案例 剔除模块中的案例

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.