Hi All,
I have an automated image processing script that i am triggering via hot folders, and I recently attempted to implement a queue system using the jobqueue script on this site.
Problem is, it appears to me that the script treats each file as a separate job, where i need it to treat each SET of files as a separate job.
So without the queue system it works like this: A set of images are dropped in, a folder structure is made and dynamically named (with a time stamp), the images are processed and the results are distributed to the proper folders. With the queue system, everything still works except that a new folder structure is created for each image instead of each image set.
The problem i’m having is that I don’t know how to make a queue where the script can determine between sets of files. One set is dropped in, it gets its own folder structure, and while its processing if another set is dropped in, those files get relegated to a “waiting” area and once they’re ready they get their own folder structure and start processing. Does anyone have any experience with this kind of logic?
Thanks again, this forum has always been such a huge help for me!