[Index]

events:file-watch


Watch for a file and fire an event if/when it exists. A service such as events:file-watch-service is required to do the actual watching.

Property Summary

file The full path of the file to be watched.
fileWatch The service that provides the file watching ability.
lastModified The last modified time of the file.
name A name, can be any text.

Example Summary

Example 1 See events:file-watch-service.

Property Detail

file

Configured ByELEMENT
AccessREAD_WRITE
RequiredYes.

The full path of the file to be watched.

fileWatch

Configured ByELEMENT
AccessREAD_WRITE
RequiredYes.

The service that provides the file watching ability.

lastModified

AccessREAD_ONLY
RequiredR/O.

The last modified time of the file. Event where the file has the same last modified time will be ignored.

name

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo.

A name, can be any text.


Examples

Example 1

See events:file-watch-service.


(c) R Gordon Ltd 2005 - Present