Compare system time with timestamp of file last modified

Started by duanebutler, February 24, 2017, 09:35:55 AM

Previous topic - Next topic

duanebutler

Good day

Is there a way i can compare the modified timestamp of a file against the system time.

DCI already configured. Just need to set the threshold if the file was not modified after 60 mins. And for this i need to compare the two times.

Regards

tomaskir

Make it a script threshold.

Then compare the value to the result of time() function.
https://wiki.netxms.org/wiki/NXSL:time