[Spacewalk-list] Scheduling an action via XMLRPC API?
Guy Matz
guymatz at gmail.com
Wed Oct 30 20:44:18 UTC 2019
Ahhhh!!!! You can't pass the usual datetime to the XMLRPC call!! You have
to do something like this:
runtime=xmlrpclib.DateTime(datetime.now().strftime("%Y%m%dT%T"))
and pass that runtime to the XMLRPC call!!!!
On Wed, Oct 30, 2019 at 2:12 PM Guy Matz <guymatz at gmail.com> wrote:
> Thanks! I see many options there for installing, removing packages, but
> no option for updating a specific package . . . is "refresh" what I want?
>
> Thanks again!!
>
> On Tue, Oct 22, 2019 at 5:26 AM Michael Mraka <michael.mraka at redhat.com>
> wrote:
>
>> Guy Matz:
>> > Hello! Does anyone know how to schedule an action with the XMLRPC
>> API? I
>> > see actionchains, but not plain old actions . . . does that exist?
>>
>> Hello,
>>
>>
>> https://spacewalkproject.github.io/documentation/api/2.9/handlers/SystemHandler.html
>> See schedule* methods.
>>
>>
>> > Thanks,
>> > Guy
>>
>> Regards,
>>
>> --
>> Michael Mráka
>> System Management Engineering, Red Hat
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20191030/76c31726/attachment.htm>
More information about the Spacewalk-list
mailing list