Schedule and Automate SSIS Package Executions Using KingswaySoft Integration Gateway

20 March 2025
KingswaySoft Team

KingswaySoft offers Integration Gateway, which is designed to act as a gateway (as the name implies) to receive HTTP-based messages from webhook interfaces available within your applications and services in order to achieve real-time integration. This is typically done by sending/relaying the messages to a message queuing system which further facilitates the actual integration. The Integration Gateway is also designed to work as a Windows service that runs in the background while it listens to webhook calls, to trigger upon receiving. Another important feature made available in the tool is that it can also work in other ways to help with scheduling and executing package that does not require real-time triggers. Say, for example, you have a cleanup job that needs to run daily to perform certain truncations or deletions, a package that sends out a status email periodically, or even a job that needs to pull logs every minute, etc. Now, this doesn't just limit to packages that perform simple jobs but is also applicable to packages that run as batch processes for unidirectional or bidirectional integrations, which do not need to be in real-time. Furthermore, even for packages that use webhooks for real-time synchronization, you could have the package running in a 24-hour loop using the scheduler (more details on this can be found in our blog post linked here), while listening to the message queue for any triggers. In short, for any such cases that involve scheduling a package for periodic execution, you could use the scheduling option available in KingswaySoft's Integration Gateway. Some benefits of running your packages through the tool would be:

  • Better control on execution schedule using CRON scheduler
  • A unified center to handle your webhooks as well as your package execution
  • Intuitive user interface
  • Easy logging feature
  • Runs as a Windows service in the background

In this blog post, we will be showcasing how the above can be achieved using our Integration Gateway.

Adding and Configuring a Scheduled Task

As a first step, we would start by adding and configuring a Scheduled Task, after we have launched the KingswaySoft Integration Gateway console application. To do so, we would navigate to the Scheduled Tasks tab as shown in the image, and click on Add Scheduled Task. This will create a new task, and in here, provide a name as an identifier for the job.

Integration Gateway - Add scheduled task.png

Integration Gateway - New scheduled task.png

Now, for scheduling, the application supports CRON expression, which is a command based utility to set up and maintain schedules that utilize a specifically formatted expression. Each character in a CRON expression represents the following.

CRON expression.png

Using our software, you don't have to be a CRON expert in order to build a proper schedule. Rather you can build this using the CRON Builder feature shipped with the software. To do so, you would click on the ellipsis button next to the CRON Expression option to open up the CRON designer. Here, you can see that there are time denominations, from seconds to Months, with which you can choose to execute the packages in a precise and periodic manner. Based on the choices that you make, you will notice that the CRON Expression changes. In our examples, we switch to the Minutes tab, and choose Every 1 minute starting at 0 minute, which implies that the job starts exactly one minute after the Integration Gateway service is started, and continues triggering the job every minute. If you wish to see the schedule for the foreseeable future, you can click on the "Execution Schedule" tab to view it.

Cron scheduler.png

Once you have your schedule set, you can add your package to the Integration Gateway. For that, click on Add Destination and choose <New SSIS Package> from the drop-down list.

Add destination package.png

Once done, you can click on the Configure Connections button, which will take you to the Outbound Connections tab, where you can enter the package details.

Configure Outbound Connections/Package settings

In this tab, you can enter the package's name as an identifier, and then choose the package from the file path. Note that the path that you provide would need to be accessible by the integration Gateway. Provide the package password if any (depending on the SSIS ProtectionLevels you have set on the package, please go through this blog post for more details), and choose the TargetServerVersion. You can turn on the Enable Logging option to get the execution logs collected and saved after you have chosen a Log Directory where the log files will be generated and saved after each execution. Click on the Test Connection button to verify the package is accessible as expected. 

Integration Gateway - Test package connection.png

When you are done with the configuration, you can Save the settings and hit the Start button in the Integration Gateway to start the service. You could close the console UI which would leave the service running in the background for the scheduled jobs. After each execution, the log files will be generated in the folder you had setup. And if you wish to preview the logs from within the Integration Gateway, you could do that as well.

Package execution logs.png

Conclusion

Using KingswaySoft Integration Gateway, you can easily schedule and execute packages, while logging the executions for reference. The Integration Gateway tool acts as a multifunctional module for your integration requirements and provides you a one stop-solution, with an intuitive and user interface to configure your jobs.

We hope this has helped!

Archive

March 2025 1 February 2025 1 January 2025 2 December 2024 1 November 2024 3 October 2024 1 September 2024 1 August 2024 2 July 2024 1 June 2024 1 May 2024 1 April 2024 2 March 2024 2 February 2024 2 January 2024 2 December 2023 1 November 2023 1 October 2023 2 August 2023 1 July 2023 2 June 2023 1 May 2023 2 April 2023 1 March 2023 1 February 2023 1 January 2023 2 December 2022 1 November 2022 2 October 2022 2 September 2022 2 August 2022 2 July 2022 3 June 2022 2 May 2022 2 April 2022 3 March 2022 2 February 2022 1 January 2022 2 December 2021 1 October 2021 1 September 2021 2 August 2021 2 July 2021 2 June 2021 1 May 2021 1 April 2021 2 March 2021 2 February 2021 2 January 2021 2 December 2020 2 November 2020 4 October 2020 1 September 2020 3 August 2020 2 July 2020 1 June 2020 2 May 2020 1 April 2020 1 March 2020 1 February 2020 1 January 2020 1 December 2019 1 November 2019 1 October 2019 1 May 2019 1 February 2019 1 December 2018 2 November 2018 1 October 2018 4 September 2018 1 August 2018 1 July 2018 1 June 2018 3 April 2018 3 March 2018 3 February 2018 3 January 2018 2 December 2017 1 April 2017 1 March 2017 7 December 2016 1 November 2016 2 October 2016 1 September 2016 4 August 2016 1 June 2016 1 May 2016 3 April 2016 1 August 2015 1 April 2015 10 August 2014 1 July 2014 1 June 2014 2 May 2014 2 February 2014 1 January 2014 2 October 2013 1 September 2013 2 August 2013 2 June 2013 5 May 2013 2 March 2013 1 February 2013 1 January 2013 1 December 2012 2 November 2012 2 September 2012 2 July 2012 1 May 2012 3 April 2012 2 March 2012 2 January 2012 1

Tags