alseambusher / crontab-ui

Easy and safe way to manage your crontab file
https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html
MIT License
2.84k stars 475 forks source link

Setting environment variables of node executable files is supported #197

Closed CongAn closed 2 years ago

CongAn commented 2 years ago

Make sure these boxes are checked( - [x] ) before submitting an issue.

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.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.