service - Windows Task Scheduler will run app only once -


So my position is that I'm running an app on the Windows Task Scheduler. This app goes at 1 o'clock in a day. The app fights some inquiries and transfers on the FTP site. Those who are working very well except for all the weekends when I'm not here and the app is gone and the GUI has still been shown to me for review. It seems as long as I do not close the app, on the scheduler Stops walking So they will go on Saturday and the app will be displayed for me when I will be back on Monday. But on Sunday, when the scheduler tries to run it again, it will fail because the app has not been closed.

Firstly, please confirm how this work scheduler should work. Second, what are my options for scheduling to run every day and display the GUI so that I can review. The app can run multiple times because each session does not interfere in other sessions. So if I went for a week on vacation then I hope that when I come back, then the app's 7 instances will run and are waiting for my review.

Thanks AGP

Your best bet is to remove the UI and log the event Log messages in the log file. If you want, the UI can be generated from CII as a separate process, but it should be done as a non-hair procedure.

Alternatively, you can run the batch file instead of the process directly. In the batch file, open "START path_to_exe" instead of EXE. That's why the batch file will immediately "finish", and the exe will have to run in its process. This not is a good long-term solution, but will provide you with a temporary solution to your immediate problem.


Comments