All Projects → nefe → one-cron

nefe / one-cron

Licence: other
a time scheduling component based cron expressions

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to one-cron

cron-schedule
A zero-dependency cron parser and scheduler for Node.js, Deno and the browser.
Stars: ✭ 28 (+100%)
Mutual labels:  cron-expression
php-cron-expr
Ultra lightweight, Dependency free and Super Fast Cron Expression parser for PHP
Stars: ✭ 42 (+200%)
Mutual labels:  cron-expression
gronx
Lightweight, fast and dependency-free Cron expression parser (due checker), task scheduler and/or daemon for Golang (tested on v1.13 and above) and standalone usage
Stars: ✭ 206 (+1371.43%)
Mutual labels:  cron-expression
crontab
cron expression parser and executor for dotnet core.
Stars: ✭ 13 (-7.14%)
Mutual labels:  cron-expression
cron-time
Javascript Cron Time Expressions
Stars: ✭ 58 (+314.29%)
Mutual labels:  cron-expression
cron-descriptor
A Python library that converts cron expressions into human readable strings.
Stars: ✭ 113 (+707.14%)
Mutual labels:  cron-expression
point-vue-cron
vue component: cron expression generator
Stars: ✭ 21 (+50%)
Mutual labels:  cron-expression
cron-validate
A cron-expression validator for TypeScript/JavaScript projects.
Stars: ✭ 40 (+185.71%)
Mutual labels:  cron-expression
angular-cron-gen
A basic way to for users to graphically build a cron expression using Angular.
Stars: ✭ 36 (+157.14%)
Mutual labels:  cron-expression
croncpp
A C++11/14/17 header-only cross-platform library for handling CRON expressions
Stars: ✭ 162 (+1057.14%)
Mutual labels:  cron-expression

One-Cron

一款以 Cron Expressions 为桥梁的定时调度组件,支持国际化等功能。

image npm version npm downloads

Cron Expressions

下表简单介绍了一下 Cron Expressions 的 � 语法,详情请看官方介绍

Expression Means
0 0 12 * * ? Fire at 12:00 PM (noon) every day
0 15 10 ? * * Fire at 10:15 AM every day
0 0/5 14,18 * * ? Fire every 5 minutes starting at 2:00 PM and ending at 2:55 PM, AND fire every 5 minutes starting at 6:00 PM and ending at 6:55 PM, every day

Documentation

Name Type Default Description
lang enum 'en_US' 选项:'zh_CN','en_US','zh_TW'
onChange Function 默认传来一个参数,为对象类型,提供 format 方法,可以拿到对应的 cron expression
cronExpression String '0 0 0 * * ?' 通过 cronExpression 的规则显示初始值
showRecentTime boolean false 显示最近 5 次生成时间
options Array 全部 数组值选项:'day', 'week', 'month', 'hour', 'minute'
disabled boolean false 不可操作
beginTime number 0 可选择的起始时间
endTime number 24 可选择的结束时间
multiple boolean true 支持多选和单选,默认多选
onValidate Function 校验选择“周”,“月”,“小时”时,是否未填写。 该回调函数返回布尔值,True表示未填写。
errorMessage string 校验错误的提示语

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].