cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
301
Views
0
Helpful
2
Replies

Trigger a Script from a timer?

biffhansen
Level 1
Level 1

Any recommendations on the cleanest way to trigger a script on a timed basis, i.e. every 5 minutes? (IPCCx 4.04 Premium)

2 Replies 2

Dennis Fogler
Cisco Employee
Cisco Employee

The easiest way I have found to do this is to use an http trigger, on IPCCx, to call the script. Then use a VB Script to call the trigger on a predetermined interval. For example:

I used the following code to launch a background process of IE.

Set objExplorer = CreateObject("InternetExplorer.Application")

objExplorer.Navigate "http:\\:8080/"

objExplorer.Visible = 0

Note the value of the obj.Navigate object is set the http trigger that you set up on IPCCx where is the ip address or DNS name of IPCCx & is the trigger on IPCCx.

I then wraped this code in a Do While statement to control the flow of when the trigger is called.

Do While ...

Set objExplorer = CreateObject("InternetExplorer.Application")

objExplorer.Navigate "http:\\:8080/"

objExplorer.Visible = 0

Loop

I hope helps get you going in the right direction.

Dennis, Thank you, works fine.

Didn't know if someone might have a shortcut via jtapi.

Biff