You can install using npm.

npm install node-schedule
var schedule = require('node-schedule');

var j = schedule.scheduleJob('42 * * * *', function(){
console.log('The answer to life, the universe, and everything!');
});

42分钟执行一次

* * * * * *

┬┬┬┬┬┬
││││││
│││││└星期(0 - 7)(0或7日)
││││└─────月(1 - 12)
│││└──────────天月(1 - 31)
││└───────────────小时(0 - 23)
│└────────────────────分钟(0 - 59)
└─────────────────────────秒(0 - 59,可选)

最新文章

  1. powershell开源新闻及简介
  2. SQL Server安全(3/11):主体和安全对象(Principals and Securables)
  3. 自然语言17_Chinking with NLTK
  4. MVC HtmlHelper用法(一)@Html.BeginForm的使用总结
  5. PHP内核探索:哈希碰撞攻击是什么?
  6. [原创]Devexpress XtraReports 系列 9 创建邮件合并报表
  7. 【Todo】ipcs命令学习
  8. BZOJ1603: [Usaco2008 Oct]打谷机
  9. SCGHR_存储过程(eSP_IDChangeStart)_政治面貌为什么不能正确更新
  10. storm启动流程
  11. RegexOptions.Compiled性能
  12. 贪心算法-找零钱(C#实现)
  13. 编译cvaux错误的原因
  14. Error creating bean with name 'com.you.user.dao.StudentDaoTest': Injection of autowired dependencies
  15. fprintf中使用stderr
  16. CSS3 水平翻转
  17. Vue技巧
  18. SerialPort类的用法与示例
  19. is-a,has-a,like-a是什么 sql server中,N''表示什么意思? 关于SQL SERVER的N前缀的理解
  20. 用AT命令调试调制解调器

热门文章

  1. 时间服务器: NTP 服务器及客户端搭建
  2. java多线程学习二
  3. poj 1185 状压dp+优化
  4. 51nod 1267 二分
  5. 51nod 1040 欧拉函数
  6. Handsontable 的数据保存(增删改查+导出excel)
  7. IDEA部署和导入guns
  8. 【Window Service】关于Window Service的两三事
  9. awk---Linux下文本处理五大神器之二
  10. nodejs express mysql