Greetings Spacewalkers,
I’m testing out SW 2.8 on Centos 6.9 fully patched.
I am having troubles setting a channel sync schedule via spacecmd. This
works via the GUI but not from command line. It worked fine in SW 2.7.
Thanks for any suggestions:
spacecmd {SSM:0}> softwarechannel_setsyncschedule --help
softwarechannel_setsyncschedule:
Sets the repo sync schedule for a software channel
usage: softwarechannel_setsyncschedule <CHANNEL> <SCHEDULE>
Options:
-e/--no-errata : Do not sync errata
-f/--fail : Terminate upon any error
-k/--sync-kickstart : Create kickstartable tree
-l/--latest : Only download latest package versions when repo syncs
The schedule is specified in Quartz CronTrigger format without enclosing
quotes.
For example, to set a schedule of every day at 1am, <SCHEDULE> would be 0 0
1 * * ?
If <SCHEDULE> is left empty, it will be disabled.
spacecmd {SSM:0}> softwarechannel_setsyncschedule centos7-x86_64 0 0 23 1 *
?
ERROR: redstone.xmlrpc.XmlRpcFault: unhandled internal exception:
redstone.xmlrpc.XmlRpcFault:
com.redhat.rhn.taskomatic.InvalidParamException: Cron trigger: 0 0 23 1 .* ?
spacecmd {SSM:0}> softwarechannel_setsyncschedule centos7-x86_64 0 0 1 * * ?
ERROR: redstone.xmlrpc.XmlRpcFault: unhandled internal exception:
redstone.xmlrpc.XmlRpcFault:
com.redhat.rhn.taskomatic.InvalidParamException: Cron trigger: 0 0 1 .* .* ?
spacecmd {SSM:0}>
*Larry E. Clegg*
*Kyriba*
[Address] 9620 Towne Centre Drive | Suite 250 | San Diego, California |
92121
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list