What environment variable is used for file test

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
grantqa
Posts: 7
Joined: Mon Aug 04, 2008 12:03 pm
Location: London

What environment variable is used for file test

Post by grantqa »

What environment variable is used for file / folder test, please?
Is DIRCMD set to check last written, creation date (/tc), or last access date (/ta)?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

1) Name of this forum "Problems and bugs". Please use this forum when something works incorrectly.

2) Sorry, i do not understand your question at all :(
Does "file / folder test" means "Folder/File Availability" test method? HostMonitor does not use any environment variable for the test. Why it should use environment variables to check specific file??

Regards
Alex
ironcurtain
Posts: 34
Joined: Mon Apr 28, 2008 10:15 am

Post by ironcurtain »

Alex which forum do you prefer for this type of question please, so I know better for next time?

I have a file existence test that is failing despite my scheduling the file existence test to run 45 minutes after the timestamp I have seen from DIR listings for previous files generated.

Some of these files generated have been 100's of megs in size.
Is it possible that checking for file existence the file is still building will return that the file does not exist?

I'm understanding that the date and time stamp against a folder or file from a Windows DIR command is the date and time stamp the file was last written. You can get the creation date with dir /tc *.* and the last access date with dir /ta *.*
I'm wondering which parameter you use for checking the file availability, when the test method is set to Alert When: file doesn't exist
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Is it possible that checking for file existence the file is still building will return that the file does not exist
If file was created and its visible to Windows Explorer, it must be visible to HostMonitor as well.
I should say Windows works strange in some cases. E.g. if you remove the file and create new one with the same name, Windows may use timestamp or that old (non existing) file for new one :roll:
I'm understanding that the date and time stamp against a folder or file from a Windows DIR command is the date and time stamp the file was last written. You can get the creation date with dir /tc *.* and the last access date with dir /ta *.*
HostMonitor checks "last written" timestamp (equivalent to /tw flag)
I'm wondering which parameter you use for checking the file availability, when the test method is set to Alert When: file doesn't exist
HostMonitor does not check any timestamp, unless you mark "older than" or "newer than" options.
May I see test settings (you may export test settings using menu File -> Export to text file)?
Alex which forum do you prefer for this type of question please, so I know better for next time
"Installation and configuration" or "Problems and bugs". Actually I don't think there are any bugs in this test, so its better to use "Installation and configuration" in this case.
Also, I am not sure does your question relate to grantqa question? If not, please use new topics for new questions.

Also if you report some problem, please provide information about HostMonitor version, Windows, Service Pack

Regards
Alex
Post Reply