Startup Script / .BAT / JAR
Here's the situation. I have a script that runs a jar file. I have gotten it to run correctly.
The JAR file time-stamps a MYSQL database every so many seconds. So it is running in a constant loop.
I have tested this same jar locally and it runs correctly.
Though, when deployed to startup script it continually runs correctly, but the startup scripts cannot complete and they timeout after the 10 minutes. So the system times out the script and then finishes the other scripts and continues to the login screen. I need it to be able to start and run continuously but in the background I guess?
Should I be doing this as a scheduled event instead so it runs in the background? I tried this for about 2 hours and it would only run the JAR once and not get caught in the loop.
What is the best way to run a JAR file continuously in a loop from when the computer starts up through logins and log-offs?

