Restart JD from a script
|Category:||General||Estimated time:||1.00 hour|
|Target version:||040 - FarfarAway|
Many of the more sophisticated users start JD with a script. The File - Restart command and the restart after upgrade use a standard command line that is not acceptable to many of us. Many of us need Java parameters in the command line for proper operation.
Proposal: If a file _JDrestart (with a script extension appropriate to the platform) exists in the JDownloader directory, then that should be executed instead of the default command line. The extensions for Windows would be .bat and .com. The extensions for OS-X, Unix, and Linux would be .ksh, .tsh, .bash, or no extension. JD would just search for a file in a built-in list and make a System() call (it is not necessary to have different lists for platforms).
Refer to http://board.jdownloader.org/showthread.php?t=14884
There are also earlier discussions in the Nightly forum.