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.
Element Step Option Job execution date From (date) To (date) Query
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.