[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why this crontab does not work?



On Thu, Jul 19, 2007 at 12:13:42PM +0800, Magicloud Magiclouds wrote:
> Dear all,
>    I have a crontab like this:
> 
> root@localhost # crontab -l
> # m h  dom mon dow   command
> *       0,12    *       *       *       root    /root/update.sh

If this is in roots personal crontab then you don't need to tell cron to
run the script as root. It already knows.

-- 
    "To the extent that we overreact, we proffer the terrorists the
    greatest tribute."
    	- High Court Judge Michael Kirby



Reply to: