首页 文章
  • 1 votes
     answers
     views

    从crontab运行bash脚本

    我无法从crontab运行以下简单脚本: #!/bin/bash notify-send "battery.sh working" 该文件的权限是 rwxr-xr-x ,并且使用 bash battery.sh 和 sh battery.sh 命令运行正常 . 在我的crontab中,我尝试使用 bash 和 sh 运行它,具有绝对路径和本地路径 . 我目前的crontab如...

热门问题