How to create a TIBCO Hawk rulebase to run a script every 15 minutes?

How to create a TIBCO Hawk rulebase to run a script every 15 minutes?

book

Article ID: KB0090945

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Resolution:
How to create a TIBCO Hawk rulebase to run a script every 15 minutes? Am using TIBCO Hawk Custom / execute command but this option is not available when composing rulebase since it only provides Custom:executeForString or Custom:executeForNumber methods. How do I do this with a Hawk rulebase?

Resolution

======= 

When creating a TIBCO Hawk rulebase using the Custom microagent, it only has two methods, executeForNumber, or executeForString. Since you only want to execute the script every 15 minutes, you can create a rulebase whose test condition will always be evaluated to true. (For e.g. Self:getUpTime as datasource, if Uptime !=0 as long as the machine is up and running, this test will always be true and the action would be to execute your script. You can attach a schedule to the rulebase so that the rulebase will be in effect at a specific time period.

Issue/Introduction

How to create a TIBCO Hawk rulebase to run a script every 15 minutes?