I can't find information about polling interval in Dev guide or 'How to Write a Simple Miner'. What's the minimum, 1s, 60s ? Can it be cron like with day of the weeks or months etc (but less than 60s) ?
Solved! Go to Solution.
minimum is 1s. Interval depends on the feed (different feeds have different intervals) and it is specified in the prototype in the interval field.. Like dshield.block polls every 10 minutes, ransomwaretracker.CW_C2_URLBL every 5 minutes, ... If not specified default is every 60 minutes.
If you want to change the interval of a feed you can just click on NEW on the single prototype detail page, this will create a new local version of the original prototype and you can change the interval setting. Then you can just create a new Miner based on the new local version of the prototype.
Thnx Luigi, I was thinking about writing mine own plugin and wanted to make sure that I can schedule it to run i.e. 10s , less than every 60s which is a lowest limit in some frameworks
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!