【文件属性】:
文件名称:cron-runner:定期执行自定义代码
文件大小:68KB
文件格式:ZIP
更新时间:2021-06-13 11:48:29
JavaScript
计时码表
定期执行自定义代码
用法
您应该在继承的帮助下从给定的模块
var inherit = require('inherit'),
CronRunner = require('cron-runner');
var MyCronRunner = inherit(CronRunner, {
__constructor: function (options) {
this.__base(options);
//TODO implement your custom initialization code here
},
execute: function () {
//TODO implement your custom execution code here
}
});
var mcr = new M
【文件预览】:
cron-runner-master
----.gitignore(99B)
----README.md(3KB)
----CONTRIBUTORS.md(336B)
----.jscs.js(2KB)
----test()
--------mocha.opts(49B)
--------index.js(5KB)
----logo.png(52KB)
----.githooks()
--------pre-commit()
----LICENSE(16KB)
----README.ru.md(4KB)
----.jshintrc(565B)
----package.json(1KB)
----.jshintignore(27B)
----.coveralls.yml(46B)
----index.js(3KB)
----.npmignore(30B)
----.travis.yml(71B)