You can create a file
event and use it as a trigger. The file event can check for various
file conditions, such as its existence, size, or age.
Note: Not all scheduling servers
support file events. Platform Suite for SAS and the SAS Distributed
In-Process Services Scheduling Server are two servers that do support
file events. The
New File Event button that
is used to create a file event is available only when the scheduling
server supports file events.
To create a file event:
-
In the
Schedule window,
select
Select one or more triggers for this data query,
and then click
New File Event.
-
In the
New
File Event window, specify or select the file to use
for the file event.
-
Select the condition
to evaluate the file to make the file event true. For example, if
you selected
not exist for the condition,
the file event would be true only if the selected file was not in
the specified location.
-
If needed, specify the
details (such as size or age) about the condition.