crontab-ui
crontab-ui copied to clipboard
Setting environment variables of node executable files is supported
Make sure these boxes are checked( - [x] ) before submitting an issue.
- [x] Running latest npm and node? (Run
npm --versionandnode --version). Get the latest nodejs here. - [x] The
node_modulesfolder has right permissions (Runls -ld $(npm root -g)/crontab-ui) - [x] Read issues.md
- [x] Gone through existing open and closed issues.
crontab_job_string += "; /usr/local/bin/node " + __dirname + "/bin/crontab-ui-mailer.js " + tab._id + " " + stdout + " " + stderr;
crontab.js第156行,/usr/local/bin/node固定字符串会导致apt-get安装的node所在目录不匹配,建议支持设置环境变量来自定义node所在目录。
如果有时间我将会来提交优化代码。
crontab.js line 156, /usr/local/bin/nodefixed string will cause the directory of the node installed byapt-getto mismatch. It is recommended to support setting environment variables to define the directory of the node.
If I have time, I will submit the optimization code.