Scheduler Trigger
Learn more about the Scheduler Trigger and how to use it on the Digibee Integration Platform.
Scheduler Trigger
Learn more about the Scheduler Trigger and how to use it on the Digibee Integration Platform.
Overview
The Scheduler Trigger runs a pipeline on a recurring schedule defined by a cron expression. It is useful when the data source cannot push data to Digibee through webhooks or event-based triggers, and the pipeline must pull data on a fixed schedule instead.
The Cron Expression field also accepts Globals, allowing different environments (for example, Test and Production) to run the same pipeline on different schedules without duplicating the pipeline definition.
Scheduler Trigger variables
The Scheduler Trigger has four types:
5-Minute Scheduler: Pre-configured to execute every 5 minutes.
30-Minute Scheduler: Pre-configured to execute every 30 minutes.
Midnight Scheduler: Pre-configured to execute at midnight in the selected timezone.
Custom Scheduler: No pre-configuration. Accepts a custom cron expression.
Parameters
Cron Expression
Expression that defines seconds, minutes, hours, and the recurrence of a pipeline in days. Accepts a static value or a Global of the Cron type using Double Braces syntax (for example, {{global.myCronExpression}}).
For expression format details, refer to the Quartz Scheduler documentation. To build expressions interactively, use CronMaker.
String
✅
N/A
Time Zone
Time Zone under which the pipeline executes. If unspecified, UTC is used. For example, 12:00 UTC corresponds to 09:00 in the São Paulo Time Zone.
String
❌
N/A
Maximum Timeout
Maximum pipeline processing time before the execution ends, in milliseconds.
Integer
❌
30000
Retries
Maximum number of retry attempts if execution fails.
Integer
❌
0
Allow Redelivery Of Messages
When enabled, allows messages to be resent if the Pipeline Engine fails.
Boolean
❌
false
Allow Concurrent Scheduling
When enabled, a new execution starts even if a previous execution is still running.
Boolean
❌
false
Parameters additional information
Allow Concurrent Scheduling
If a pipeline is set to execute every 3 minutes and a previous execution takes 4 minutes, this parameter determines whether the next execution starts immediately or waits.
Enabled: The next execution starts on schedule, regardless of whether the previous one has finished.
Disabled: The next execution is held until the previous execution completes.
Cron Expression with Globals
You can reference a Global in the Cron Expression field to apply different schedules per environment using a single pipeline definition. For example, a Test environment can run every 5 minutes while Production runs once a day.
How to configure
Before referencing a Global in the trigger, create one in the Globals Management area.
Open the Build page on the platform.
Access Globals.
Click Create.
Select the Cron category.
Define the cron expression value for each environment (Test, Prod).
Fill in the remaining fields as described in the Globals documentation.
Click Save.

Once the Global is created, open your pipeline and access the trigger configuration. In the Cron Expression field, enter {{global. and select the desired variable. Only variables of the Cron category will be listed. After selection, the field will be filled with {{global.global-name}}.
Note that variable resolution happens at deployment time. When you deploy the pipeline, the system validates and applies the referenced Global to that environment.
Scheduler Trigger in action
This trigger is useful when a data source cannot push data to Digibee using HTTP, REST, HTTP File, Kafka, RabbitMQ, or JMS. Common use cases include:
Polling files from SFTP, FTP, Amazon S3, Google Cloud Storage, and similar file storage services.
Querying databases directly (in this case, use the Stream DB connector with pagination).
Checking the status of Digibee Integration Platform endpoints that do not support webhook-based notifications.
Scenario: Pipeline executed every 30 seconds, without overlap, using a static data source
The following example shows how to configure a Scheduler Trigger to execute a pipeline every 30 seconds with no execution overlap. A 2-minute timeout is set using the São Paulo Time Zone (UTC-3).
Create a new pipeline and configure the trigger with the following values:
Cron Expression:
0/30 ** ? ***Time Zone:
America/Sao_PauloMaximum Timeout:
120000Retries:
0Allow Redelivery Of Messages: disabled
Allow Concurrent Scheduling: disabled
Next, add a JSON Generator (Mock) connector to the pipeline and connect it to the trigger. Configure it with the following JSON so that the pipeline returns a static payload on each execution:
Every time the pipeline runs, the configured JSON is returned automatically.
Last updated
Was this helpful?