Tell me how to properly run java files on a remote computer via task sheduler. I tried to do it in two ways:
Run java file itself. The launch is in progress, but I need the process to remain hanging on the command line, and not immediately close. Edit java file is not possible.
Record the launch of the java file in bat. In this case, the launch is normal, and the process remains to hang on the command line, but since the command line has its own name, I can’t stop the task later.