1
wheat0r 335 天前
这信息也太少了
|
2
devswork 335 天前
命令前面加上 sudo
编辑 sudoers: myuser ALL=(ALL:ALL) NOPASSWD: /bin/date myuser 是你的用户名,/bin/date 是 date 命令的绝对路径 再试下看看能不能行 |
3
devswork 335 天前
我用的 centos7 ,date 命令路径是 /usr/bin/date
ubuntu 可以用下 whereis date 来查下命令的绝对路径 |
4
AoEiuV020JP 335 天前
按理说 date 不需要啥搞权限的,而且 cron 正常来说是 root 权限的,
总之 cron 里运行 id 命令看看情况, |
5
Hf1G1sGBYS8QSLN8 335 天前
着急就手动执行一下。
|
6
thinkm 335 天前
调试一下
|
7
julyclyde 335 天前
是系统级 crontab 还是用户级 crontab 啊?
把 crond 的日志上下文都发上来看看 说实话我不太信这句日志是 date 产生的 |
8
defunct9 335 天前 2
开 ssh ,让我上去看看
|
9
yolee599 335 天前 via Android
date 指令不需要什么权限的啊
|
10
chauncychan 335 天前
起码把命令给贴上来吧
|
11
zhanglintc 335 天前
开 ssh ,让我上去看看
|
12
Nooooobycat 335 天前
Apache: Troubleshooting any problem without the error log is like driving with your eyes closed.
https://httpd.apache.org/docs/2.4/getting-started.html |
13
Masoud2023 335 天前
开 ssh ,让我上去看看
|
14
defunct9 335 天前
@zhanglintc @Masoud2023 说这句话要小心 Livid 封了账号
|
15
zhanglintc 334 天前
@defunct9 #14 还有这种危险啊?那我以后不说了
|