It is possible to automate tasks where the trigger for the action to be taken is a file being created rather than a specific time.
A zip file demonstrating this technique, both with and without Supervisor is available to download here.
The demonstration shows how to monitor a specified directory for new files. For any new file a nominated WFL Job is started with the title of the new file passed as a parameter. This example is illustrated using a stand alone DCAlgol program and for comparison a Supervisor Situation and ODTSequence.
Two additional Supervisor examples are provided. One to monitor a directory and email, as an attachment, any file added to the directory. The other example shows how to monitor a code file directory, checking the files against an InfraDesign Sure database.
Finally an example of how to combine the three Supervisor Situations into one is shown.
The zip file contains:
ReadMe.rtf Description on how to use the other files.DEMO.CON MCP Wrapped container with example files Contents