Quote:
Originally Posted by mgpai
Code:
/*
Interval > Add urls
Trigger : Interval (Recommended 3600000 or more)
*/
var file = "Downloads/.torrent files/JDL Sync.txt";// <- Set path to text file
try {
var links = readFile(getPath(file));
callAPI("linkgrabberv2", "addLinks", {
links: links
})
} catch (e) {};
|
thank you. What are the steps to enable this script? I went to "Event Scripter", clicked "add", set the "Trigger" to "Interval" and then within the Edit Script button added the code above pointing to my text file which has 4 different megaupload links. I set the call interval to 259200000 i.e. 3 days. Synchronous execution of script checkbox is ticked. I hit test compile and it says successful, but when i hit test run, nothing happens. I tried changing the interval to 1000ms and nothing happened either. Any idea? **External links are only visible to Support Staff**... of my JDL install.