免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2160 | 回复: 4
打印 上一主题 下一主题

求教:crontab配置文件不成功 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-08 12:04 |只看该作者 |倒序浏览
具体信息如下:
/public/vc/dev/release/log/bak/log_080508>crontab -e
0 1 * * * /public/vc/dev/release/shell/bak_log.sh
crontab: can't create your crontab file in the crontab directory.
请问这是为何?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
2 [报告]
发表于 2008-05-08 12:27 |只看该作者
是不是此用户在deny里

论坛徽章:
0
3 [报告]
发表于 2008-05-08 12:56 |只看该作者
请问我怎么看是在用户deny里呢?

论坛徽章:
0
4 [报告]
发表于 2008-05-08 15:14 |只看该作者
man crontab
       If  the  /etc/cron.allow  file exists, then you must be listed therein in order to be allowed to use this command.
       If the /etc/cron.allow file does not exist but the /etc/cron.deny file does exist, then you must not be listed  in
       the  /etc/cron.deny  file in order to use this command.  If neither of these files exists, then depending on site-
       dependent configuration parameters, only the super user will be allowed to use this command, or all users will  be
       able to use this command. For standard Debian systems, all users may use this command.

论坛徽章:
0
5 [报告]
发表于 2008-05-09 11:04 |只看该作者
我的/etc/cron.allow和  /etc/cron.deny都不存在,使得是HP—UNIX,看来只有root用户可以了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP