背景:不知道什么原因脚本手动执行:正常;crontab执行不生效; 1.将命令所属路径加入到 /etc/crontab中, 2.在shell脚本中加入 source /etc/profile 相关文章: