背景:不知道什么原因脚本手动执行:正常;crontab执行不生效; 1.将命令所属路径加入到 /etc/crontab中, 2.在shell脚本中加入 source /etc/profile 相关文章: 2021-12-16 2022-12-23 2022-12-23 2022-12-23 2021-08-04 2021-04-28 2022-02-19 2021-10-11