用crontab 调度 nodejs 应用 http://www.315ok.org/blogfolder/yongcrontab-tiaodu-nodejs-yingyong http://www.315ok.org/logo.png 用crontab 调度 nodejs 应用 文本 下文以 centOs 7为例 编辑调度命令: sudo crontab -e 输入如下内容: * */3 * * * cd /home/plone/fileUpload ; node index.js --dir=/srv/report_files/orther >/dev/null 2>&1 输入如下内容: sudo systemctl restart crond 设置 内容目录 否