Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.52. regenerateNeededCache

Completely clear and regenerate the needed Errata and Package cache for all systems subscribed to the specified channel. This should be used only if you believe your cache is incorrect for all the systems in a given channel. This will schedule an asynchronous action to actually do the processing.
  • string sessionKey
  • string channelLabel - the label of the channel
Return Value
  • int - 1 on success, exception thrown otherwise.