Let's say I have a windows service job, and it is running halfway when I try to shut it down ( net stop service
).
What would happen? Will the job continue to execute until it's finish, only then shut down, or it will abort the job halfway even though it is still in the midst of writing to database?