# Crontab syntax Description

Crontab is a set of commands used to schedule the execution of tasks. Users can set the time parameters to make the programs run on schedule.

![](/files/MLrWAWAqpq18dvlVTrcw)

A crontab file has five fields for specifying day, date, and time followed by the command to be run at that interval. After being set, your workflow will run automatically on schedule.

```
# the format of crontab: 
    *    *    *    *    *
    -    -    -    -    -
    |    |    |    |    |
    |    |    |    |    +----- day of week (0 - 7) (Sunday=0 or 7) 
    |    |    |    +---------- month (1 - 12)
    |    |    +--------------- day of the month (1 - 31)
    |    +-------------------- hour (0 - 23)
    +------------------------- minute (0 - 59)
    
# Examples：
    0 0 1 * *       # the firth day of a month
    10 6 * * 1-5    # every Monday to Friday at 6:10 a.m. 
```

You also can enter Crontab online editor for more syntax descriptions and examples through the link.

{% embed url="<https://crontab.guru>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.graviti.com/guide/tensorbay/action/schedule-crontab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
