Tasks execution with dependencies
Assuming I have 2 or more directory to monitor, but the task setup on these directories have dependencies; this is especially important, where 2 or more tasks are not-allow to execute concurrently (whereby may cause conflict in job result).
Without this feature, we have to developed some program either using mutex or some flag files to prevent concurrent execution; Is it possible to setup dependencies between directories?
Queuing tasks are not possible, each directory monitors and executes tasks in isolation.
This feature would introduce significant complexity when it should not be the application’s responsibility to manage workflow.
If you require synchronization with scripts and tasks you are executing then you need to implement these
yourself as you mentioned. Queuing and priority management is out of scope of what Directory Monitor is intended for.