Hi All,
It is certainly my fault and therefore I would like some clarification regarding a script that I copied in one of your examples.
-----------------------------------------
"Call interval in ms 100000
var setInterval = 10; // in minutes
var feeds = JD_HOME + "/feeds/links.txt"; // Full path to text file containing the urls
if (interval == setInterval * 10 * 1000) {
callAPI("linkgrabberv2", "addLinks", {
"deepDecrypt": true,
"links": readFile(feeds)
});
} else {
interval = setInterval * 10 * 1000;
}
----------------------------------------------------
The download starts every 2 minutes, but I think I have set the loop time to 10 minutes.
Where am I wrong?
To set my choice, do I have to change the 'setinterval' or the one above expressed in ms?
Can you tell me what values to put to make the script run again after 8 hours?
Thank you