CentOS7 crontab 不执行,报错 /bin/sh: root: command not found
使用CentOS7 执行定时脚本,结果提示报错:/bin/sh: root: command not found问题在于文件 /var/spool/cron/root ,中无需再写root。修改之后的脚本:[root@localhost cron]# crontab -l*/10 * * * * perl /home/awstats/wwwroot/cgi-bin/aws
原创
2014-10-18 19:43:50 ·
31542 阅读 ·
1 评论