I've had mixed results with the web console and spacecmd as far as running
scripts on clients.. I've been using a python script to execute custom
scripts on clients and thus far haven't had any problems:

https://github.com/angrox/spacewalk-api-scripts/tree/master/spacewalk-schedule-scriptrun


On Fri, May 16, 2014 at 1:22 PM, Glennie, Jonathan - 0443 - MITLL <
[email protected]> wrote:

> Worked like a charm, thanks!
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Stas Bobylev
> *Sent:* Friday, May 16, 2014 1:47 PM
> *To:* [email protected]
> *Subject:* Re: [Spacewalk-list] Running Remote Commands with ">>" In
> Script
>
>
>
> Have you tried using “tee -a” instead of “>>” in your script?
>
>
>
> E.g.
>
> echo “blah” | tee -a some_file
>
> This email and any attachments are strictly confidential, may be
> privileged, and are intended only for the use of the person(s) named above.
> Any other person is strictly prohibited from disclosing, distributing,
> copying or using it. If you are not the intended recipient (or are not
> receiving this communication on behalf of the intended recipient), please
> notify the sender immediately by return email or telephone call, and
> securely destroy this communication. Thank you.
>
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to