Thread: [Solved] UPDATE SCRIPT does not work
View Single Post
  #1  
Old 08.07.2021, 16:17
guardao's Avatar
guardao guardao is offline
JD-Team
 
Join Date: Mar 2009
Posts: 3,308
Default UPDATE SCRIPT does not work

The JD Update SCRIPT is no longer working. (#CORE 44633)
Please fix it.
TX
___________________________________________________________

/*
Update when JD is Idle
Trigger Required: "Interval" (Recommended: 600000 (10 mins.) or more)
*/

if (
callAPI("update", "isUpdateAvailable") &&
!callAPI("linkcrawler", "isCrawling") &&
!callAPI("linkgrabberv2", "isCollecting") &&
!callAPI("extraction", "getQueue").length &&
isDownloadControllerIdle()
) {
callAPI("update", "restartAndUpdate");
}
Reply With Quote