How do I schedule a flow service to run at intervals of 2 mi

PROBLEM:
I want to create a flow service that will run at intervals of 2 minutes and
load a file from the local filesystem and then do some processing.

THINGS THAT ARE WORKING PROPERLY:
I know that I can invoke pub.file.getFile in a Flow service to load the file.
I have tested this piece of the code

WHAT I CAN’t FIGURE OUT:
Next I want to schedule the Flow service above to run at intervals of 2 minutes.
It appears that there is a service pub.scheduler:addrepeatingTask that I can use,
but I do not know where to invoke it i.e do i invoke it in the same Flow service,
in another flow service etc.

You can use the webmethods scheduler. This can be accessed using the Integration server administration screen.

HTH
Ravi