I have a windows server 2003 up in the internet. But sometime I need to restart it. After restart, I want one of the applications to run.
I want to do this all programatically. I can now remotely restart the server.
But the question is how can I ask that piece of software to be executed (more precisely, I want to execute a .BAT file to ask a tomcat to run)? Because I don't want to manually log in to the machine and start that application. That is time consuming. Is there any possible way, once the machine is started, my application will be run as well?