Path: utzoo!mnetor!uunet!sdrc!scjones From: scjones@sdrc.UUCP (Larry Jones) Newsgroups: comp.os.vms Subject: Detecting file creation Message-ID: <272@sdrc.UUCP> Date: 2 May 88 18:36:19 GMT Organization: Structural Dynamics Research Corp., Cincinnati Lines: 16 I need to create a program which will process files which get created in a particular directory. Each file is deleted after it is processed, so I don't have to worry about processing a file more than once. So far the only thing we have been able to come up with is to continualy search the directory looking for files to process, but that is quite wasteful of system resources. What would be better is to have a way of knowing that a new file has been created in the magic directory, but there doesn't seem to be any way to do that. The files are created by lots of different mechanisms, so we can't have the creator signal the server. Anyone have any ideas? ---- Larry Jones UUCP: ...!sdrc!scjones SDRC AT&T: (513) 576-2070 2000 Eastman Dr. BIX: ltl Milford, OH 45150 "When all else fails, read the directions."