View Single Post
  #3  
Old 07.04.2020, 11:36
yondu yondu is offline
Super Loader
 
Join Date: Jun 2019
Posts: 25
Default

For the people interested, I got it working with the following script in the EventScripter:

Code:
// Add multiple URLs at user defined interval
// Trigger required: "Interval"

var setInterval = 720; // in minutes
var feeds = "C:/.../links.txt"; // Full path to text file containing the urls

if (interval == setInterval * 720 * 1000) {
    callAPI("linkgrabberv2", "addLinks", {
        "deepDecrypt": true,
        "links": readFile(feeds)
    });
} else {
    interval = setInterval * 720 * 1000;
}

Please note that even under Windows, slashs should be used instead of backslashs in the filepath. Otherwise, an error occurs.
Reply With Quote