[Spacewalk-list] Thanks first, for answering all my questions

Alan Pittman Alan.Pittman at publix.com
Mon Oct 6 17:05:11 UTC 2014


Hi,
  Everyone has their own personal preferences, I personally like to set up a script, like this:

#!/bin/bash

/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-elrepo --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-rhn-tools --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-supplementary --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-updates --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-mondo --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-epel --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-spacewalk-client --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-fastrack --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-productivity --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-vt --type yum
/usr/bin/spacewalk-repo-sync --channel rhel-64bit-server-5-rhev-agent --type yum

And then use crontab to schedule it:

33 03 6,13,20,27 * * /usr/local/bin/sync-5Server-64.sh

Hope this helps a little.

Alan

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Alexander Dacre
Sent: Monday, October 06, 2014 12:49 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Thanks first, for answering all my questions

Hi,

You can do this via the web interface or spacewalk-repo-sync found in spacewalk-utils.

Thanks,

Alex Dacre
Systems Engineer
+44 131 560 1466

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Kartik Vashishta
Sent: 06 October 2014 17:47
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: [Spacewalk-list] Thanks first, for answering all my questions

Next question: How do I schedule all repos to be sync'd?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141006/a1db2289/attachment.htm>


More information about the Spacewalk-list mailing list