搜索

此内容没有您所选择的语言版本。

Chapter 18. scheduler

download PDF

18.1. scheduler:list

18.1.1. Description

List scheduled jobs

18.1.2. Syntax

scheduler:list [options]

18.1.3. Options

NameDescription

--help

Display this help message

18.2. scheduler:reschedule

18.2.1. Description

Update scheduling of an existing job

18.2.2. Syntax

scheduler:reschedule [options] name

18.2.3. Arguments

NameDescription

name

The job name

18.2.4. Options

NameDescription

--help

Display this help message

--period

Time during executions (in seconds)

--at

Absolute date in ISO format (ex: 2014-05-13T13:56:45)

--times

Number of times this job should be executed

--concurrent

Should jobs run concurrently or not (defaults to false)

--cron

The cron expression

18.3. scheduler:schedule

18.3.1. Description

Schedule a script execution

18.3.2. Syntax

scheduler:schedule [options] script

18.3.3. Arguments

NameDescription

script

The script to schedule

18.3.4. Options

NameDescription

--help

Display this help message

--period

Time during executions (in seconds)

--at

Absolute date in ISO format (ex: 2014-05-13T13:56:45)

--times

Number of times this job should be executed

--name

Name of this job

--concurrent

Should jobs run concurrently or not (defaults to false)

--cron

The cron expression

18.4. scheduler:trigger

18.4.1. Description

Manually trigger a scheduled job

18.4.2. Syntax

scheduler:trigger [options] name

18.4.3. Arguments

NameDescription

name

Name of the job to trigger

18.4.4. Options

NameDescription

--help

Display this help message

-b, background

schedule the trigger in the background

18.5. scheduler:unschedule

18.5.1. Description

Unschedule a job

18.5.2. Syntax

scheduler:unschedule [options] [name]

18.5.3. Arguments

NameDescription

name

 

18.5.4. Options

NameDescription

--help

Display this help message

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.