Loop to poll a windows directory

@raelldata I once built this thing that would check at certain intervals if a file has changed (store the most recent information) and if there is a change it would do something:

You could of course adapt the condition (something has to change within the file).

If you want to construct an infinite loop you could think about entering a breaking point you could set from outside knime like a Stopp.txt file. As long as it is not there the loop continues. This could be a more elegant solution than just forcefully stopping the knime program.

3 Likes