Triggers on Files
- Run Trigger: when this trigger is set, and the timestamp of the file changes, the downcone of the file is automatically run.
- Stop Trigger: when this trigger is set, and the timestamp of the file changes, all running jobs in the downcone of the file are automatically stopped.
If both triggers are set, first the jobs are stopped, then the downcone is scheduled. The run is always performed at NORMAL priority.
Set the Triggers
-trigger,run
and -trigger,stop
in the I call
that registers the file as
input.# Example of setting a trigger flag in FDL
J vw cp aa bb
I -trigger,run aa
Other Ways to Change the Triggers
# Example of manipulation of both trigger flags using the VTK API.
set placeId [vtk_place_find "FILE" "aa"]
vtk_place_get $placeId placeInfo
set placeInfo(trigger,run) 1
set placeInfo(trigger,stop) 1
vtk_place_set $placeId placeInfo