I'll try to make this short. We have a CNC Machine (Windows-based) on our shop floor that we send files to from the office. These files are used once, to run the program, then we need to delete them periodically, as searching for the right file takes too long otherwise. I want to create a small app that would automatically run from our server, to look into that machine, find the file creation date and delete the old files.
What pitfalls should I consider for this approach? Is it worth writing to a Log table during this process? Is there a way to filter by date to quickly select the correct files, or do I need to loop through them one by one in a recordset?
What pitfalls should I consider for this approach? Is it worth writing to a Log table during this process? Is there a way to filter by date to quickly select the correct files, or do I need to loop through them one by one in a recordset?