格 千格 KiloCell

Cron Expression Generator

Visualize configuration timed tasks, and leave complex grammar problems

Copy * * * * *
Do it every minute.

Common Presets

What's a Cron expression?

The developer's troubles

Linux's crontab The grammar, though powerful, is extremely abstract in a combination of five asterisks. A slight inactivity (e.g., confusion between weeks and dates) could lead to the implementation of the mandate at the wrong time, or even to serious production accidents.

Visualization of the Genesis Advantages

You can visualize every time dimension. This tool provides real-time natural language resolution, which translates abstract codes into "day" The common and understandable description of 9 to 17 hours is to ensure that logic is intact.

Cron Syntax:

Standard Cron expression consists of 5 or 6 spaces separated fields (Linux usually uses 5 bits):

  • Minutes (Minute) : 0 - 59
  • Hour : 0 - 23
  • Date of Month : 1 - 31
  • Month : 1 - 12
  • Day of Week : 0 - 6 (0 on Sunday)

Commonly use special symbol descriptions

  • * : Representing “arbitrary”. For example, per minute in minutes.
  • , : Representative list. For example: 1,3,5 Delegates perform in 1st, 3rd and 5th minutes.
  • - : Scope of representation. For example: 9-17 Representation from 9 to 17 points.
  • / : Representing step. For example: */15 The minutes represent every 15 minutes.

Best practice in business

  1. Test implementation plan : Before the official deployment, the logical check must be made using the “natural language description” function of this tool.
  2. Consider the time zone : Remember that the time zone settings of the server may differ from your local computer.
  3. Avoiding Task Stacking : Do not set too often the intervals for implementation if the task is longer.

This tool is intended for DevOps Engineers and back-end developers have the most concise and efficient configuration experience. All calculations are run locally and do not record any privacy data.

Copyed to clipboard!