Feature #1385

Restart JD from a script

Added by drbits almost 10 years ago. Updated almost 10 years ago.

Status:NewStart date:03/03/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:GeneralEstimated time:1.00 hour
Target version:040 - FarfarAway
Resolution:

Description

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.

Also available in: Atom PDF