Hide Forgot
This command is a workaround for the lack of scheduling support for plugin-based repositories in the current upstream Pulp releases. The command will look for a repo.notes.pulpdist.check_hours attribute on each repo with sync enabled in the importer configuration. For every repo where the current hour of the day modulo the "check_hours" attribute is 0, the client will initiate a sync operation. The command will support a --threads option (defaulting to 8). That is the maximum number of concurrent sync operations the client will initiate.
Cron sync has been implemented for 0.0.11. The relevant notes entry is pulpdist.sync_hours. Only one cron_sync job can be running on a system at a time, even if it affects a different Pulp host.