源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

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

  • 时间:2020-04-16 03:18 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:linux定时任务出现command not found解决办法
[b] linux定时任务出现command not found解决办法[/b] [img]http://files.jb51.net/file_images/article/201705/201705091504013.png[/img] [b]第一步查看/etc/profile:[/b] [img]http://files.jb51.net/file_images/article/201705/201705091504014.png[/img] [b]第二步修改 /root/.bash_profile:[/b] [img]http://files.jb51.net/file_images/article/201705/201705091504025.png[/img] 末尾添加命令的路径 [img]http://files.jb51.net/file_images/article/201705/201705091504026.png[/img] [b]第三步 shell脚本修改:[/b]
#!/bin/bash

. /etc/profile
. /root/.bash_profile
脚本中添加内容如下: [img]http://files.jb51.net/file_images/article/201705/201705091504027.png[/img] 感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部