FileSystemWatcher question....

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Scott

    #1

    FileSystemWatcher question....

    Is it possible to, when using the FileSystemWatch er control inside a Windows
    Service, to only run it at certain times?

    The company I currently work for wants to have a windows service created
    that monitors a given directory for new files, but actually only processes
    the files at a certain time ever hour.

    Is this possible using this control, or do I have to revert to using a timer
    control and manually figuring out what the new files are that way?

    Thank you for your help.

    -- Scott
  • GhostInAK

    #2
    Re: FileSystemWatch er question....

    Hello Scott,

    Use a queue.

    -Boo
    Is it possible to, when using the FileSystemWatch er control inside a
    Windows Service, to only run it at certain times?
    >
    The company I currently work for wants to have a windows service
    created that monitors a given directory for new files, but actually
    only processes the files at a certain time ever hour.
    >
    Is this possible using this control, or do I have to revert to using a
    timer control and manually figuring out what the new files are that
    way?
    >
    Thank you for your help.
    >

    Comment

    Working...