An application executed in an Operating System (CmdExec) job step has to be a console application and it cannot ask for any user input.
Even a simple Press any key to continue..., used (when the application is executed by a user, not SQL Server Agent) to prevent the command prompt window from closing before the user can see the results, will keep such a job running forever.
No comments:
Post a Comment