分页: 1 / 1

crontab 不能用?

发表于 : 2008-01-15 12:47
yunpengwu
以前是可以的,现在就不行了,怎么解决呢?

$ crontab -e
crontab: installing new crontab
crontabs/tmp.YcrtC4: Permission denied
crontab: edits left in /tmp/crontab.HMSsP6/crontab

发表于 : 2008-01-15 13:27
yiding_he
要以管理员身份运行:
sudo crontab ...

发表于 : 2008-01-15 13:37
yunpengwu
解决了:
sudo crontab -u aaron -e
搞定!

发表于 : 2008-01-15 15:42
eexpress
你的目录。那tmp权限有问题吧。
drwxrwxrwt 7 root root 8.0K 2008-01-15 15:46 tmp/