schedulr:基于约束的cron式调度程序

时间:2021-05-19 00:58:43
【文件属性】:
文件名称:schedulr:基于约束的cron式调度程序
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-19 00:58:43
JavaScript 调度程序 基于约束的cron式调度程序。 概括 MVP目标 const s = require ( "schedulr" ) ; // Runs function every 8 hours (start time is now, so, current time - time of beggining % 8h == 0) if day is monday. s . run ( ) . every ( 8 ) . hours ( ) . fromNow ( ) . if ( { day : "monday" } ) . function ( ( ) => { } ) ; // Runs function every 8 hours (start time is today, so, current time - day of the beggining % 8h == 0) if
【文件预览】:
schedulr-master
----.gitignore(71B)
----README.md(3KB)
----examples()
--------counter.js(228B)
----package.json(295B)
----src()
--------index.js(4KB)
----index.js(90B)
----.eslintrc.json(467B)

网友评论