cron执行service

在Cron的环境下,是没有定义路径的,所以,service xxx start等等要使用绝对路径 =》 /sbin/service xxx start 

service的路径可以用whereis service找到

posted @ 2013-07-09 08:30  ifeixiang  阅读(557)  评论(0编辑  收藏  举报