...
An example configuration for a " file - watcher":
Code Block | ||
---|---|---|
| ||
<job name = "scheduler_file_notification_1"> <script language="shell"> <![CDATA[ set echo %SCHEDULER_JOB_NAME% echo %SCHEDULER_TASK_TRIGGER_FILES% rem del %SCHEDULER_TASK_TRIGGER_FILES% ]]> </script> <start_when_directory_changed directory = "c:/temp" regex = "^file[1|2]\.xml$"/> </job> |
...
Every change of files in the folder c:/temp which is matched by the filter ^file1^file1\.xml$ starts a task for the job.
...
Set up as a standalone job in the JobScheduler editor Editor JOE the script will look like this:
...