Read TimeStamp from text file and compare to system time

General chat about HostMonitor
Post Reply
ckelpin
Posts: 1
Joined: Wed Oct 24, 2012 11:06 am

Read TimeStamp from text file and compare to system time

Post by ckelpin »

Trying to read a timestamp from inside a text file and compare to system time, if difference of an hour to send action.

Anyone have idea on doing this?
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Use simple VB or Java script and Shell Script test method
(or may be not simple script, it depends how timestamp stored in the file and what other information stored in the file)

Another options: use External test method or Active Script test method...

Shell Script: http://ks-soft.net/hostmon.eng/mframe.h ... m#chkShell

Regards
Alex
Post Reply