Launch application in folder

I connected the script to the folder to run whenever something is added to the folder. The problem is that several files are added one after another, the process is queued. How to run a script, even if it is already running for another file.

+5
source share
1 answer

You cannot stop the process queue. "When adding folder items to xxfolder after receiving xxfiles" all files are deleted at the same time (xxfiles is a list). When the system takes too much time to add all the files (copy over a slow network, ...), the systems break down the list of added files in sub lists, each of which calls a script. The way it was built! but what are your problems with multiple calls instead of 1? ... if all files are added, they should be in order.

fyi, the system makes periodic calls to check the actions of the folder using the startup process, but it does not document where the period is set.

0
source

All Articles