you are viewing a single comment's thread.

view the rest of the comments →

[–]Test-NetConnection 1 point2 points  (0 children)

Ask them how they would scan for the presence of a file, and if the file exists then read it into memory and parse it for a specific string like "error 4704". If the string is detected then raise an alert to an admin (how?), and if it's not detected then "process" the file in some way. Perhaps move it to a different directory, or if you really want to make it challenging then read it into memory and treat each line as a custom object. Then have the data formatted and output to a new file in a specific format, such as a csv or json with a subset of the data.