2.64. hammer 重复日志
与重复逻辑相关的操作
Usage: hammer recurring-logic [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: cancel Cancel recurring logic delete Delete all recuring logics filtered by the arguments info, show Show recurring logic details list, index List recurring logics Options: -h, --help Print help
2.64.1. hammerduplicate-logic cancel
取消重复的逻辑
Usage: hammer recurring-logic cancel [OPTIONS] Options: --id ID ID of the recurring logic --location LOCATION_NAME Set the current location context for the request --location-id LOCATION_ID Set the current location context for the request --location-title LOCATION_TITLE Set the current location context for the request --name NAME Name to search by --organization ORGANIZATION_NAME Set the current organization context for the request --organization-id ORGANIZATION_ID Set the current organization context for the request --organization-title ORGANIZATION_TITLE Set the current organization context for the request -h, --help Print help
2.64.2. hammer 重复删除
删除所有按参数过滤的递归逻辑
Usage: hammer recurring-logic delete [OPTIONS] Options: --cancelled Only delete cancelled recurring logics --finished Only delete finished recurring logics -h, --help Print help
2.64.3. hammer 重复日志信息
显示重复的逻辑详情
Usage: hammer recurring-logic <info|show> [OPTIONS] Options: --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --id ID ID of the recurring logic --location LOCATION_NAME Set the current location context for the request --location-id LOCATION_ID Set the current location context for the request --location-title LOCATION_TITLE Set the current location context for the request --name NAME Name to search by --organization ORGANIZATION_NAME Set the current organization context for the request --organization-id ORGANIZATION_ID Set the current organization context for the request --organization-title ORGANIZATION_TITLE Set the current organization context for the request -h, --help Print help Predefined field sets: ----------------|-----|-------- FIELDS | ALL | DEFAULT ----------------|-----|-------- Id | x | x Cron line | x | x Action | x | x Last occurrence | x | x Next occurrence | x | x Iteration | x | x Iteration limit | x | x Repeat until | x | x State | x | x ----------------|-----|--------
2.64.4. hammer 重复日志列表
列出重复逻辑
Usage: hammer recurring-logic <list|index> [OPTIONS] Options: --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --location LOCATION_NAME Set the current location context for the request --location-id LOCATION_ID Set the current location context for the request --location-title LOCATION_TITLE Set the current location context for the request --order ORDER Sort field and order, eg. ‘id DESC’ --organization ORGANIZATION_NAME Set the current organization context for the request --organization-id ORGANIZATION_ID Set the current organization context for the request --organization-title ORGANIZATION_TITLE Set the current organization context for the request --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return, 'all' to return all results --search SEARCH Filter results -h, --help Print help Predefined field sets: ----------|-----|-------- FIELDS | ALL | DEFAULT ----------|-----|-------- Id | x | x Cron line | x | x Iteration | x | x End time | x | x State | x | x ----------|-----|--------