Executing jobs

If the File Trigger function detects the creation, deletion, or modification of a file that is being monitored, the job that is specified for the Job ID (JOBID) in the File Trigger Information is executed at the timing when the File Trigger function detects the operation.

The following figure illustrates the execution of the job when the File Trigger function detects the creation, deletion, or modification of a file.

= Remarks =

Even if you specify multiple monitoring modes for a single trigger ID, only a single job can be executed. If you execute different jobs depending on whether file creation or file deletion is detected, it is necessary to define different trigger IDs for each condition.

Figure 2.60 Job Execution Timing

However, if an operation is detected for a file while a job is currently being executed for that same file, a new job is not executed.

The following figure shows a job that was executed when file creation was detected, and that is still running when file modification is detected. No job is executed at the timing when file modification was detected.

Figure 2.61 Job Execution Timing (Pattern When Job is not Executed)