会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
http://webxue.cn
E-Mail:xueshuai_12@163.com
博客园
首页
新随笔
联系
订阅
管理
2020年7月19日
Nodejs怎样在服务端写定时脚本,自动备份MongoDB数据库,并记录日志
摘要: 注意:mongod服务需提前开启 定时任务 安装模块 npm install node-schedule -S 使用方法 const schedule = require('node-schedule');//引入定时任务模块 function scheduleCronstyle(){ schedu
阅读全文
posted @ 2020-07-19 03:19 webxue
阅读(867)
评论(0)
推荐(0)
编辑
公告