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.