文件名称:schedulr:基于约束的cron式调度程序
文件大小:4KB
文件格式:ZIP
更新时间:2024-06-07 18:45:23
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)