Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: markehle on May 04, 2005, 03:49:26 PM

Title: Implementing a "hot folder" for printing?
Post by: markehle on May 04, 2005, 03:49:26 PM
Hello -

I have a need for users to be able to drop a postscript file into a folder and have the files  automatically printed and moved onto another folder.

I played with a script that uses a sleep function to 'sit and spin' while files are dropped in, but it seems to me that there must be a better way.

Is there such an animal that will start a script when a file show up in a folder? One that will run in the background and use next to no resources when there are no files to process?

Thanks -

Mark
Title: Implementing a "hot folder" for printing?
Post by: markehle on May 04, 2005, 05:01:30 PM
Looks like I solved my own problem - http://directory.fsf.org/dnotify.html

Thanks -

Mark