Monday, July 23, 2018

Question about scheduling, app doesn't seem to close itself.

I have a bit of code that:

  1. queries the database for data needing to be transmitted to a 3rd party

  2. formats data from step one into expected XML

  3. posts XML from step 2 to a third party's web api

Now I have this code as a function in a vb.net "Application Type: Windows Form Application" and Module1.vb's contents is basically:

Module Module1 Sub Main() Call DoThreeStepsFromAbove() End End Sub End Module 

The app is being called via WIndows Task Scheduler, and really shouldn't take more than a few minutes at the most to run; however, I'm seeing a LOT of instances of my app in the "Background Processes" of the server.

Any ideas what I need to change? I tried to be as thorough in my post above but what further information can I provide?
Thanks!

Question about scheduling, app doesn't seem to close itself. Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team