Permission denied with bash.sh to run cron

前端 未结 5 537
忘掉有多难
忘掉有多难 2020-11-29 12:19

How to run a cron with bash script here.What i did as follows and here with errors.I want to know how to do that in ubuntu.I was struck with it now

bash.sh file

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 12:54

    The user executing that cron (the one who executes cron -e) doesn't have proper rights for executing that script. That is: either the script lacks the execution flag, or it's not possible to reach it because some of its ancestor directories lack the execution flag.

提交回复
热议问题