INDEX WATCH

###
INDEX WATCH

            [MRTCAL\]INDEX WATCH [/TIMEOUT Value]

        Wait for new files added in the directory associated to the input index.
        As soon as new data is detected, the index is updated (same as INDEX UP-
        DATE) and the command returns. There are 3 major waiting modes:
          - INDEX WATCH: wait indefinitely,
          -  INDEX  WATCH /TIMEOUT Value>0: wait until this time (in seconds) is
            elapsed, and then return normally. Note that you can mimic an  infi-
            nite loop by setting a huge value (1 year is ~3e7 seconds),
          -  INDEX  WATCH  /TIMEOUT  Value<=0: does not wait. This can be useful
            when writing generic code including time-outs.

        The waiting loop can also be stopped with CTRL-C. In this case the  com-
        mand will return with an error status.