4
I have a Java desktop application, and I need it to be always started together with Windows (as a Windows service for example). This application should be running in the background and always be open, as it will perform tasks periodically using Quartz.
Would you like to know how I get it started and keep running at all times? If there is a fault and the application is not started, how to run a monitoring to try to run it again? The process should be automatic, because I will generate the installer of this application using Innosetup and customers will download the application and install.
Already warning that I did research, I saw about the Java Service Wrapper, but I do not know how to make it keep the application running and monitor tb. I would just like some guidance on.
you can create a task scheduled in the "Task Scheduler", see how it works create a basic task and understand its parameters, then you will need to create a *.Bath and/or *.vbs file to specify the parameters for it to be inserted automatically at the time of installation of your application on a client machine. Web search how to auto-backup using *.Bath and/or *.vbs files.
– Wilson Rosa Gomes
Have you solved your doubt? Did any of the answers help you?
– Murillo Goulart