using cron to run yum - fc3
I have a real newbie question. I want to use cron to fire off yum on a scheduled basis and update my FC 3 installation. I created the crontab below for root:
00 3 * * 5 /etc/yum -y update
What I expected would happen is that yum would be launched every Friday at 3 am and update my installation without user input (-y). When I look in /var/log/cron, I see that cron has run my command.
root@saruman log]# cat cron.1 |grep yum
Feb 25 03:00:01 saruman crond[18559]: (root) CMD (/etc/yum -y update)
However, when I look in yum.log I do not see where yum updated my system.
Any suggestions as to what I'm doing wrong?
Thanks.
|