Recently, a small office of three users stopped being able to plot CAD plot files to their plotter. I set up a print queue and they ran a batch file to copy their plot files directly to the print queue using "copy filename.plt /b \\server\printer" and it had been working for quite some time. It has stopped working inexplicably, but in testing things, I realized that I could send these plot files to the print queue using a Linux command line. That's when the idea hit me.
I would like to set up a watch folder where the user can copy plot files. The server should be able to watch this folder and send any plot files it finds to the print queue. Ideally, I would like this to run in a bash script.
Has anyone done this before? Is there a contrib for anything resembling this that I have been unable to locate? I am sure I can pull this off with some cron job and some scripting, but I know there are people here way smarter than me and can do it a lot better and in a way that fits within SME server's framework and methods of doing things.
Help? Suggestions?
P.S. I know about inotify. It isn't available in 2.6.9 kernels without a patch. It will be available in SME 8 when it is released, but I would like to get this going in SME 7.4.