[Spacewalk-list] error with "spacecmdsoftwarechannel_setsyncschedule"

William H. ten Bensel WHTENBEN at up.com
Fri May 17 19:18:03 UTC 2019


Was able to change it with the following... Need to put the schedule in ' 
'. 

# rpm -q spacecmd
spacecmd-2.6

#spacecmd -q -s <walk> softwarechannel_listsyncschedule |grep epel6-x86_64
  655  epel6-x86_64                        0 0 21 ? * 1

#spacecmd -q -s <walk> softwarechannel_setsyncschedule epel6-x86_64 '0 0 
22 ? * 1'

#spacecmd -q -s <walk> softwarechannel_listsyncschedule |grep epel6-x86_64
  655 epel6-x86_64                        0 0 22 ? * 1


Thanks and good luck




From:   Guy Matz <guymatz at gmail.com>
To:     Spacewalk-list at redhat.com
Date:   05/16/2019 10:05 AM
Subject:        [Spacewalk-list] error with "spacecmd 
softwarechannel_setsyncschedule"
Sent by:        spacewalk-list-bounces at redhat.com




 
Hi!  Any thoughts here?
spacecmd {SSM:0}> softwarechannel_setsyncschedule epel7_x86_84 0 30 2 ? * 
*
ERROR: redstone.xmlrpc.XmlRpcFault: unhandled internal exception: 
redstone.xmlrpc.XmlRpcFault: 
com.redhat.rhn.taskomatic.InvalidParamException: Cron trigger: 0 30 2 ? .* 
.*

Thanks a lot,
Guy_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list



**

This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient.  Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law.  If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190517/afdc1bde/attachment.htm>


More information about the Spacewalk-list mailing list