> For the complete documentation index, see [llms.txt](https://docs.enginsight.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enginsight.com/docs/manual/english/appendix/angabe-von-cron-ausdruecken.md).

# Defining Cron Expressions

A cron expression is a string that is used to define the exact time or a recurring interval for executing automated tasks, known as cron jobs.

***

## Structure

In standard Linux syntax, a cron expression consists of five fields separated by spaces. The fields represent the following time values:

| Position        | Description               | Available Values |
| --------------- | ------------------------- | ---------------- |
| `*` \* \* \* \* | Minute                    | 0 - 59           |
| \* `*` \* \* \* | Hour                      | 0 - 23           |
| \* \* `*` \* \* | Day of the Month          | 1 - 31           |
| \* \* \* `*` \* | Month (January–December)  | 1 - 12           |
| \* \* \* \* `*` | Day of the Week (Sun–Sat) | 0 - 6            |

***

## Syntax Options

You can combine various numbers, letters, and special characters to create precise schedules. Here you can find available characters with corresponding examples:

<table><thead><tr><th width="200.65234375">Syntax</th><th width="264.40234375">Description</th><th>Example</th></tr></thead><tbody><tr><td><code>*</code></td><td>This character represents a wildcard.</td><td><code>* * * * *</code><br><br><em>Every minute</em></td></tr><tr><td><code>*/</code>&#x3C;Number></td><td>This expression represents an interval.</td><td><code>* /5 * * * *</code><br><br><em>Every 5 minutes</em></td></tr><tr><td>&#x3C;Number><code>-</code>&#x3C;Number></td><td>This expression represents a range of values.</td><td><p><code>0 9-17 * * 1-5</code></p><p><br><em>Every minute from 9:00 a.m. to 5:59 p.m., Monday through Friday</em></p></td></tr><tr><td>&#x3C;Number><code>,</code>&#x3C;Number><code>,</code>&#x3C;Number></td><td>This expression represents a list of multiple values.</td><td><code>0 8,12,16 * * *</code><br><br><em>At 8:00 a.m., 12:00 p.m., and 4:00 p.m.</em></td></tr><tr><td>&#x3C;Number><code>-</code>&#x3C;Number><code>/</code>&#x3C;Number></td><td>This expression combines an interval with a range of values.</td><td><p><code>0 1-6/2 * * *</code></p><p><br><em>Every 2 hours from 1:00 a.m. to 6:59 a.m.</em></p></td></tr><tr><td>&#x3C;Number><code>L</code></td><td>This expression represents the last occurrence of a value.</td><td><p><code>0 20 * * 5L</code></p><p><br><em>At 8:00 p.m. on the last Friday of every month</em></p></td></tr><tr><td>&#x3C;Number><code>#</code>&#x3C;Number></td><td>This expression represents the nth occurrence of a value.</td><td><p><code>0 8 * * 1#2</code></p><p><br><em>At 8:00 a.m. on the second Monday of every month</em></p></td></tr></tbody></table>

***
