[CentOS] Rsync + crontab centos5.1

Frank Murphy

frankly3d at gmail.com
Sun Jun 22 11:38:00 UTC 2008


Just looking at the "man rsync".

Might as well be duagnosing a plattypus.

I have made a dir on my Cent samba shares to setup a local fedora.repo

(1) How do I get it to run weekly at a certain time. is this correct?

crontab -e 22 7 0 0 /usr/bin/rsync -va
/Fedora-Mirror  /local samba share.

(2) Trying to get cron it run 10pm every saturday night.
Log whats happening.
update packages, include new packages. 
Exlude extra languages from things like openoffice\xorg etc.. that the
family don't need.
(family lan)

(3) Would one normally download the mirrors "repodata",
or run create createrepo oneself?









More information about the CentOS mailing list