3.77. sync-plan
同期プランを操作します。
使用方法
hammer sync-plan [OPTIONS] SUBCOMMAND [ARG] ...
# hammer sync-plan [OPTIONS] SUBCOMMAND [ARG] ...
オプション
-
-h、--help– ヘルプを表示します。
3.77.1. sync-plan create リンクのコピーリンクがクリップボードにコピーされました!
同期プランを作成します。
使用方法
hammer sync-plan create [OPTIONS]
# hammer sync-plan create [OPTIONS]
オプション
-
--cron-expression VALUE– 間隔がカスタム cron の場合に設定します。 -
--description VALUE– 同期プランの説明 -
--enabled BOOLEAN– 同期を有効または無効にします。 -
--interval VALUE– 同期を実行する頻度を指定します。 -
--name VALUE– プラン名を同期します。 -
--organization VALUE– 検索する組織名 -
--organization-id NUMBER– 組織 ID -
--organization-label VALUE– 検索する組織ラベル -
--organization-title VALUE– 組織での肩書き -
--sync-date DATETIME– 同期プランの開始日時。時間はオプションです。空白の場合は現在のシステム時間が考慮されます。 -
-h、--help– ヘルプを表示します。
3.77.2. sync-plan delete リンクのコピーリンクがクリップボードにコピーされました!
同期プランを破棄します。
使用方法
hammer sync-plan <delete|destroy> [OPTIONS]
# hammer sync-plan <delete|destroy> [OPTIONS]
3.77.3. sync-plan info リンクのコピーリンクがクリップボードにコピーされました!
同期プランを表示します。
使用方法
hammer sync-plan <info|show> [OPTIONS]
# hammer sync-plan <info|show> [OPTIONS]
オプション
| フィールド | すべて | デフォルト | シン |
|---|---|---|---|
| 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 |
3.77.4. sync-plan list リンクのコピーリンクがクリップボードにコピーされました!
同期プランをリスト表示します。
使用方法
hammer sync-plan <list|index> [OPTIONS]
# hammer sync-plan <list|index> [OPTIONS]
オプション
-
--fields LIST– 指定されたフィールドまたは定義済みフィールドセットのみを表示します。以下を参照してください。 -
--full-result BOOLEAN– すべての結果を表示するかどうかを指定します。 -
--interval ENUM– 間隔でフィルタリングします。使用できる値は、hourly、daily、weekly、custom cronです。 -
--name VALUE– 名前でフィルタリングします。 -
--order VALUE– フィールドの並べ替えとその順序 (例:id DESC) -
--organization VALUE– 検索する組織名 -
--organization-id NUMBER– 組織 ID -
--organization-label VALUE– 検索する組織ラベル -
--organization-title VALUE– 組織での肩書き -
--page NUMBER– (1 から始まる) ページ番号 -
--per-page NUMBER– 1 ページあたりの、返される結果の数 -
--search VALUE– 検索文字列 -
--sync-date VALUE– 同期日でフィルタリングします。 -
-h、--help– ヘルプを表示します。
| フィールド | すべて | デフォルト | シン |
|---|---|---|---|
| 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 |
検索/順序フィールド
-
enabled– 値は true、false です。 -
interval– 文字列 -
name– 文字列 -
organization_id– 整数
3.77.5. sync-plan update リンクのコピーリンクがクリップボードにコピーされました!
同期プランを更新します。
使用方法
hammer sync-plan update [OPTIONS]
# hammer sync-plan update [OPTIONS]
オプション
-
--cron-expression VALUE– 同期プランのカスタム cron ロジックを追加します。 -
--description VALUE– 同期プランの説明 -
--enabled BOOLEAN– 同期を有効または無効にします。 -
--id NUMBER– プランの数値識別子を同期します。 -
--interval VALUE– 同期を実行する頻度を指定します。 -
--name VALUE– プラン名を同期します。 -
--new-name VALUE– 同期プラン名 -
--organization VALUE– 検索する組織名 -
--organization-id NUMBER– 組織 ID -
--organization-label VALUE– 検索する組織ラベル -
--organization-title VALUE– 組織での肩書き -
--sync-date DATETIME- 同期の開始日時 -
-h、--help– ヘルプを表示します。