Is there a way to make a code block run/reload on an interval basis?

In recent version of Dataview you can call the Dataview: Rebuild current view, which will refresh just the current view. This can be triggered through a call to setInterval() similar to what you’re doing now.

However, there is a caveat that this might trigger multiple concurrent setInterval(), so take a look at the thread below which is a similar case and see if you can’t incorporate some of that logic to keep to only one repeated process.

1 Like