2012-04-05
01:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Can the File Reader service "collide" with a Scheduled Task?
I have some UDS servers that are collected by the File Reader service. The log pull process is start by an HOURLY scheduled task, which pulls the logs, compares timestamps, then creates an ouput file. The file reader service looks for the output file every 5 minutes, and deletes it after it's read. Does anyone know what happens if the task and service run at the same time, or "collide?" I'm guessing that as long as the File Reader service runs more often, it'll pick up any output file that it missed during a collision?
1 Reply
2012-04-06
03:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
The File Reader service gets a list of files in the directory at a given time and then process those files. If a new file arrives after the FileReader service got the list of files to process then it will be processed the next time. Are you doing the manipulation of the pulled down files in the same directory the File Reader service is reading? If so, the File Reader service will try to read the files and delete them.
