Assuming that you are a developer, you should be able to easily write such a script either using a shell or perl or C. Check for the presence of a file every n seconds (or whatever time interval) in a directory, and when one found, run another script, etc. etc.
Quote:
Originally posted by cookiejar
Hi everybody,
I am currently setting up a web site for customers to place orders. Having placed the order the file will be downloaded onto the Unix server (SCO UNIX v 5.0.4). At this point I need to be able to monitor the system for the file being resident and if it is then perform an action on it, possibly set a script off running passing the filename as a parameter. The monitor should be looking for the file every few seconds so I require something which does not hog the machine.
Anybody out there who can point me in the right direction.
Regards
cookiejar