Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Trigger a Script from a timer?

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
Cisco Employee

Re: Trigger a Script from a timer?

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.

Community Member

Re: Trigger a Script from a timer?

Dennis, Thank you, works fine.

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

Biff

111
Views
0
Helpful
2
Replies
CreatePlease to create content