filestat - file size and age

Examines a file’s size and age. If neither of the age/size values are given, simply checks the file exists.

filename
Type

string

Required

true

the path of the file to monitor.

maxage
Type

integer

Required

false

the maximum allowed age of the file in seconds. If not given, not checked.

minsize
Type

bytes

Required

false

the minimum allowed size of the file in bytes. If not given, not checked.