The Cron expression generator is a component that enables the generation of a Cron expression.
A cron expression is a string of six fields separated by whitespace, which represents a set of times or dates when a job or task should be executed. Each field represents a specific unit of time, such as minutes, hours, days, and so on.
The general format of a cron expression is:`* * * * * *`
The fields, in order from left to right, represent:
Asterisks (`*`) can be used to represent all values within a field, and commas (`,`) can be used to separate multiple values. Hyphens (`-`) can be used to specify a range of values within a field, and forward slashes (`/`) can be used to specify step values.
For example, the following cron expression will execute a task at 12:30 PM every day:`0 30 12 * * ?`
And this cron expression will execute a task every 15 minutes: 0 0/15 * * * ?
The Cron Expression Generator is used to configure the process to run on a schedule. You should select “Scheduled” as a channel in a flow settings, default value appears in the “Cron Expression“ input field. If you want to change the default value, click the field with cron expression to open the Cron Expression Generator pop-up window.
At the top of the pop-up window you can choose the desired tab:
Each tab has its own set of settings. You can select only one of the options in each tab and customize it to suit your needs.
When changing the settings, the final cron expression in both readable and cron expression format will also be displayed at the bottom of the popup, containing the current settings from all tabs – the components of the cron expression.
The Tab “Advanced” has two options:
If the settings are incorrect, you see an error, and the CONFIRM button is not available.
After the desired value is generated, click the CONFIRM button.