Trường · Cron
Trường · Cron · system.cron. Phương thức tạo · Ví dụ
system.cron
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
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.
Ví dụ
"* 3 20 * *"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.