Cron generator
Returns a random cron expression.
system.cron
Generator settings
Generate data to see results here.
Parameters & Example
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.
Example
"* 3 20 * *"Use synthetic data in a test environment.