Schedule Deliveries
When delivery is deployed to a runtime, you can schedule its execution.
Schedule a Delivery
There are three main methods to schedule deliveries:
-
From Semarchy xDI Production Analytics, using the runtime built-in scheduler.
-
From the Runtime Command, using the runtime built-in scheduler.
Schedule Deliveries using a Third-Party Scheduler
From a third-party scheduler, call the Start Delivery script to schedule the delivery.
Use the command return code to assess whether the execution was successful.
In addition to the return code, the command sends further information on the standard output, in the following format
##### BEGIN #####
04/05/2022 17:22:11,718 - SESSION: e5b70658db3117952ad056f12fbb9a21e08000 is started (1)
-- DURATION = 00:00:11,907 (2)
##### STATISTICS #####
SQL_NB_ROWS=177051 (3)
SQL_STAT_INSERT=37969 (3)
SQL_STAT_UPDATE=0 (3)
SQL_STAT_DELETE=37972 (3)
04/05/2022 17:22:23,671 - SESSION: e5b70658db3117952ad056f12fbb9a21e08000 is ended (2)
##### END #####
1 | The session startup and end indicate the time as well as the session unique ID. |
2 | The session execution duration. |
3 | The session statistics indicate the number of processed rows. |
Schedule Deliveries from Semarchy xDI Production Analytics
For production environements, Semarchy xDI Production Analytics provides features to run and schedule deliveries in multiple environments. See the using Delivery Projects and Manage Runtime Deliveries topics for more details.
Schedule Deliveries from the Runtime Command
You can use the runtime built-in scheduler to start deliveries using the Schedule Delivery runtime command.