脚本单独可以执行,但是放到crontab里面不执行 在脚本里重载一下环境变量 source ~/.bash_profile 转载于:https://www.cnblogs.com/wxrpoppy/p/9996345.html