Cron生成器

Cron生成器 · system.cron. 生成方法 · 示例

system.cron

生成设置

生成后在这里查看结果。

参数 & 示例

Returns a random cron expression.

system.cron(options?: { includeYear?, includeNonStandard? })
options
The optional options to use.
options.includeYear
Whether to include a year in the generated expression. Defaults to false.
options.includeNonStandard
Whether to include a @yearly, @monthly, @daily, etc text labels in the generated expression. Defaults to false.

示例

"* 3 20 * *"

请在测试环境使用合成数据。

相关生成器

探索场景模板