이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 87. sync-plan


Manipulate sync plans

Usage

# hammer sync-plan [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

87.1. sync-plan create

Create a sync plan

Usage

# hammer sync-plan create [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --cron-expression VALUE – Set this when interval is custom cron
  • --description VALUE – Sync plan description
  • --enabled BOOLEAN – Enables or disables synchronization
  • --interval VALUE – How often synchronization should run
  • --name VALUE – Sync plan name
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization ID
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • --sync-date DATETIME – Start date and time for the sync plan.Time is optional, if kept blank current system time will be considered
  • -h, --help – Print help

87.2. sync-plan delete

Destroy a sync plan

Usage

# hammer sync-plan <delete|destroy> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --id NUMBER – Sync plan numeric identifier
  • --name VALUE – Sync plan name to search by
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization ID
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • -h, --help – Print help

87.3. sync-plan info

Show a sync plan

Usage

# hammer sync-plan <info|show> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --fields LIST – Show specified fields or predefined field sets only. (See below)
  • --id NUMBER – Sync plan numeric identifier
  • --name VALUE – Sync plan name to search by
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization ID
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULTTHIN

Id

x

x

x

Name

x

x

x

Start date

x

x

 

Interval

x

x

 

Enabled

x

x

 

Cron expression

x

x

 

Recurring logic id

x

x

 

Description

x

x

 

Created at

x

x

 

Updated at

x

x

 

Next sync

x

x

 

Products/id

x

x

 

Products/name

x

x

 

87.4. sync-plan list

List sync plans

Usage

# hammer sync-plan <list|index> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --fields LIST – Show specified fields or predefined field sets only. (See below)
  • --full-result BOOLEAN – Whether or not to show all results
  • --interval ENUM – Filter by interval Possible value(s): hourly, daily, weekly, custom cron
  • --name VALUE – Filter by name
  • --order VALUE – Sort field and order, eg. id DESC
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization ID
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • --page NUMBER – Page number, starting at 1
  • --per-page NUMBER – Number of results per page to return
  • --search VALUE – Search string
  • --sync-date VALUE – Filter by sync date
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULTTHIN

Id

x

x

x

Name

x

x

x

Start date

x

x

 

Interval

x

x

 

Enabled

x

x

 

Cron expression

x

x

 

Recurring logic id

x

x

 

Search and order fields

  • enabled – Values: true, false
  • interval – string
  • name – string
  • organization_id – integer

87.5. sync-plan update

Update a sync plan

Usage

# hammer sync-plan update [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --cron-expression VALUE – Add custom cron logic for sync plan
  • --description VALUE – Sync plan description
  • --enabled BOOLEAN – Enables or disables synchronization
  • --id NUMBER – Sync plan numeric identifier
  • --interval VALUE – How often synchronization should run
  • --name VALUE – Sync plan name
  • --new-name VALUE – Sync plan name
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization ID
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • --sync-date DATETIME – Start date and time of the synchronization
  • -h, --help – Print help
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat