【发布时间】:2018-10-19 20:11:45
【问题描述】:
SHELL= /bin/csh
MAILTO = myemail.com
PATH = /stoddiskpath
20 11 * * * script.csh
上面是我的 crontab 脚本。但是,我收到了一封邮件:
tail: Command not found.
stoddiskpath/script.csh: Permission denied.
tail: command not found 是什么意思?
【问题讨论】:
-
"linux tail: command not found" - 请尝试使用相同查询的 Google 搜索,看看是否能找到一些结果。
-
tail不在 PATH /stoddiskpath 中,它通常在/bin中。也许你应该试试PATH=/stoddiskpath:$PATH? (不确定在 crontab 中,我会在脚本中进行路径设置)。祝你好运。