Periods and queries

Through period management Skeila® Scheduler allows you to define time limits, applied to extraction queries, in order to define a dynamic time interval. Although it is possible to use static filters in any SQL dialect, Skeila® Scheduler is capable of generating time filters dynamically: this makes it possible to speed up batch generation and make their control granular. In addition, a single query can be reused for many batches since it is the batch itself that passes the time filter as a query parameter.

Preliminary notes

A date range, useful for managing time filters in queries, is built dynamically by Skeila® Scheduler. Its construction takes place in the batch editor, in the Query and Periodstep. The parameters set here are passed to the query. For this reason, a single query can be reused in multiple batches. 

For example, the query below:

SELECT * FROM ordini WHERE data >= { {period.start}} AND data {{period.end} }

is materialized in several ways depending on the parameters provided in the batch.

ElementStepOptionJob execution dateFrom (date)To (date)Query
Batch
Query and period
Period family: Calendar | Which data to extract: Previous calendar month
14/10/2026
01/09/2026
30/09/2026
SELECT * FROM ordini WHERE data >= '01-09-2026' AND data <= '30/09/2026'
Batch
Query and period
Period family: Calendar | Which data to extract: Yesterday
14/10/2026
13/10/2026
13/10/2026
SELECT * FROM ordini WHERE data >= '13-10-2026' AND data <= '13/10/2026'

Associate a period

Batch period management represents one of the phases of creating/modifying the batch itself. In it, it is possible to associate a query and define the extraction data period.

You don't have it yet

Try Skeila® Scheduler for free

Discover Skeila® Scheduler for free

Search the wiki
Page information

Created: 10-13-2026

Last updated: 10-23-2026

In other languages: