yum commands at reboot

Frank Murphy frankly3d at gmail.com
Thu Jan 19 12:31:32 UTC 2012


Suggestions for improvement welcome.

For a particular test machine.

1: crontab -e
@reboot yum --randomwait=5 clean metadata | yum --randomwait=10 
createrepo  /my/local/repo

2: or:
@reboot yum --disablerepo=local --randomwait=10 clean metadata

I think no. 2 looks the tidier.

I don't want to test until, some feedback. Just in case.

-- 
Regards,

Frank Murphy
UTF_8 Encoded


More information about the users mailing list