Trigger a Script from a timer?

Unanswered Question
Feb 2nd, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Dennis Fogler Sun, 02/04/2007 - 10:37

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.

biffhansen Wed, 02/07/2007 - 15:16

Dennis, Thank you, works fine.

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

Biff

Actions

This Discussion