10.52. regenerateNeededCache

Name
regenerateNeededCache
Description
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.
Parameters
  • string sessionKey
  • string channelLabel - the label of the channel
Return Value
  • int - 1 on success, exception thrown otherwise.