Time macro howto? %time%>="08:28:58"

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
fve
Posts: 98
Joined: Sun Apr 27, 2008 11:25 am
Location: Denmark

Time macro howto? %time%>="08:28:58"

Post by fve »

Hi

Cant get this to work?

I want to do something like this:

Code: Select all

%time%>="08:28:58"
I use it in Action properties in advanced mode.

___

Is there a smart way to evaluate the macro function. I mean look at the output from ex. %time% or something other?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you please explain what exactly you need to accomplish?
Start action on the schedule? Then you should use built-in Scheduler (see Options dialog).
Execute some tests 24/7 but start action assigned to these tests using some time restriction? Then use "Time restriction" option and select appropriate schedule
http://www.ks-soft.net/hostmon.eng/mfra ... ofiles.htm

Regards
Alex
fve
Posts: 98
Joined: Sun Apr 27, 2008 11:25 am
Location: Denmark

Post by fve »

Hi

I use both. Function scheduler and, Time restriction.

It was only a ide I have.
Is it possible to evaluate something like %time%>="08:28:58"??


Is is possible to have some output showing output from macro like %xx%.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Is it possible to evaluate something like %time%>="08:28:58"??
Yes, but
1) you forgot "" for %time% string
2) it will be compared as strings so result may depend on your regional settings (or time format specified by "Use fixed date&time" HostMonitor option).
If you use time format like hh:mm:ss, comparision should work correctly.
Is is possible to have some output showing output from macro like %xx%
Some output? What exactly output? You may use variables in many places. The following table illustrates where you can use macro variables:
http://www.ks-soft.net/hostmon.eng/mfra ... acroparams
Plus you may use them in Custom HTML reports...

Regards
Alex
Post Reply