JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 14.05.2016, 21:40
robertus robertus is offline
JD Fan
 
Join Date: Dec 2010
Posts: 74
Default [ADD new API] Restart

Hi,

my request to add a new feature is very simple.

Is possible add an API to use in event script, that restart\reboot JD2 ?

Thanks a lot for your support and work.
Reply With Quote
  #2  
Old 17.05.2016, 15:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,522
Default

Already available. use the callapi stuff and
namespace = system
and
methods are
restartJD
exitJD
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 19.05.2016, 20:00
robertus robertus is offline
JD Fan
 
Join Date: Dec 2010
Posts: 74
Default

Quote:
Originally Posted by Jiaz View Post
Already available. use the callapi stuff and
namespace = system
and
methods are
restartJD
exitJD
thanks a lot i solved with this:
Code:
callAPI("system","restartJD")
:thumbup:
Reply With Quote
  #4  
Old 19.05.2016, 20:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,522
Default

Thanks for the feedback and you're welcome
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 15:48.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.