Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.72. syncRepo

Name
syncRepo
Description
Schedule periodic repo synchronization
Parameters
  • string sessionKey
  • string channelLabel - channel label
  • string cron expression - if empty all periodic schedules will be disabled
  • struct - params_map
    • Boolean sync-kickstart - Create kickstartable tree - Optional
    • Boolean no-errata - Do not sync errata - Optional
    • Boolean fail - Terminate upon any error - Optional
Return Value
  • int - 1 on success, exception thrown otherwise.