脚本专栏 
首页 > 脚本专栏 > 浏览文章

linux定时任务出现command not found解决办法

(编辑:jimmy 日期: 2024/10/18 浏览:3 次 )

 linux定时任务出现command not found解决办法

linux定时任务出现command not found解决办法

第一步查看/etc/profile:
linux定时任务出现command not found解决办法

第二步修改 /root/.bash_profile:
linux定时任务出现command not found解决办法
末尾添加命令的路径
linux定时任务出现command not found解决办法

第三步 shell脚本修改:

#!/bin/bash

. /etc/profile
. /root/.bash_profile

脚本中添加内容如下:

linux定时任务出现command not found解决办法

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

上一篇:Linux磁盘空间被未知资源耗尽的解决方法
下一篇:解决VirtualBox中Ubuntu 14.04屏幕分辨率不能设置的问题
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 SiteMap