<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Example:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:4.5pt;line-height:15.0pt;background:#EEEEEE">
<span style="font-size:9.5pt;font-family:"Courier New";color:black">spacecmd -u swadmin -p some_password -s spacewalk-server.com
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:4.5pt;line-height:15.0pt;background:#EEEEEE">
<b><span style="font-size:9.0pt;font-family:"Courier New";color:black">spacecmd {SSM:0}> system_runscript group:group3 -s 20200617T0130 -t 60 -f /root/myscript<o:p></o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"># spacecmd help system_runscript<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">system_runscript: Schedule a script to run on the list of systems provided<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">usage: system_runscript <SYSTEMS> [options]<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">options:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  -u USER<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  -g GROUP<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  -t TIMEOUT<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  -s START_TIME<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  -l LABEL<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  -f FILE<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><SYSTEMS> can be any of the following:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">name<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">ssm (see 'help ssm')<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">search:QUERY (see 'help system_search')<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">group:GROUP<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">channel:CHANNEL<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dennis J. Pittman<o:p></o:p></p>
<p class="MsoNormal">[Email] <u><span style="color:#0563C1"><a href="mailto:dennis.j.pittman@gmail.com">dennis.j.pittman@gmail.com</a></span></u><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:spacewalk-list-bounces@redhat.com">
spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>>
<b>On Behalf Of </b>Peirce, Dean<br>
<b>Sent:</b> Tuesday, August 4, 2020 1:08 PM<br>
<b>To:</b> <a href="mailto:oogiejonz@yahoo.com">oogiejonz@yahoo.com</a>; <a href="mailto:spacewalk-list@redhat.com">
spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] [EXTERNAL] issue remote command using spacecmd?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I do <o:p></o:p></p>
<div>
<p class="MsoNormal">spacecmd —quiet —server=<a href="https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspacewalk.server.name%2F&data=02%7C01%7C%7Cd5ebaabf78d940f4f08308d838991267%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637321577368843494&sdata=Vc1N6%2F18UV3fWw%2Flbd0sfur4dZATaGnZC7BZs34JBHw%3D&reserved=0">http://spacewalk.server.name</a> —user=<spacewalk
 userid> —password=<spacewalk-pass> —nossl system_listpackageprofiles<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Aug 4, 2020, at 12:45 PM, <a href="mailto:oogiejonz@yahoo.com">
oogiejonz@yahoo.com</a> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif">Does anyone know of a way to issue a remote command to a server using spacecmd?  It is not jumping out at me from the spacecmd help menu.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif">thanks -<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://urldefense.com/v3/__https:/www.redhat.com/mailman/listinfo/spacewalk-list__;!!MXVguWEtGgZw!eDLpl_JuTK4D5j7_ljDurrxmBiXkT_O7DN94L0MkUgqHfT5327mDUVqFqBa9T-0eTA$">https://urldefense.com/v3/__https://www.redhat.com/mailman/listinfo/spacewalk-list__;!!MXVguWEtGgZw!eDLpl_JuTK4D5j7_ljDurrxmBiXkT_O7DN94L0MkUgqHfT5327mDUVqFqBa9T-0eTA$</a>
<o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>