# DB Connector failing while batch execution

**URL:** <https://forum.knime.com/t/db-connector-failing-while-batch-execution/23937>\
**Category:** KNIME Analytics Platform\
**Created:** [May 20, 2020, 7:57am UTC](https://forum.knime.com/t/db-connector-failing-while-batch-execution/23937 "2020-05-20T07:57:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dyagaty](https://forum-cdn.knime.com/user_avatar/forum.knime.com/dyagaty/32/16890_2.png) [@dyagaty](https://forum.knime.com/u/dyagaty)\
**Post date:** [May 20, 2020, 5:19pm UTC](https://forum.knime.com/t/db-connector-failing-while-batch-execution/23937/3 "2020-05-20T17:19:21Z")

</div>

Please check this post -

> [@Execution of Knime Workflow in Batch Mode](https://forum.knime.com/t/execution-of-knime-workflow-in-batch-mode/10946/3):
>
> On the surface, running KNIME in batch looks relatively easy and it is. But its all the small details that can make it complex. The trick is to create a generic, highly parameterized batch job that can run any KNIME workflow. I’ve attached two sample Powershell scripts that will run 1 to many KNIME workflows. When one fails, execution will halt (that behavior can be changed). In my example, I included execution of workflows that have variables in them like Database server URL which are set a…

Powershell script by @ScottMcLeodPSLGroup is really cool !

---

_[View the full topic](https://forum.knime.com/t/db-connector-failing-while-batch-execution/23937)._
