Siebel Analytics Scheduler Guide > Using Siebel Analytics Scheduler >

External Triggering of Scheduler Jobs


Third-party applications and scripts can launch a Scheduler job from the command line. They can also change the Job Parameters for a single instance. This simulates third-party triggered iBots. The interface for the command line is:

saschinvoke.exe -u <Admin Name>/<Admin Password> (-j <job id> |
-i <iBot path>) [-m <machine name>[:<port>]] ([-r <replace parameter filename>] | [-a <append parameter filename>])

The required <Admin Name> and <Admin Password> are the same as configured for the Scheduler where you invoke the job. You can invoke the job either by the job id or by the iBot path. Optionally, you can specify a machine and port for the Scheduler. If this is omitted, the invoker uses localhost and 9705 respectively.

The invoker also takes an optional job parameter file. Depending on the option, the parameters in the file either replace the ones configured in the Scheduler ([-r <replace parameter filename>], or they append to the existing parameters [-a <append parameter filename>]).

If you use a parameter file, follow these rules.

In replace mode, the file can specify to leave some parameters as they are in the Scheduler. To do this for a specific line, enter $SCH_DEFAULT$ on the line. This acts as a variable and replaces the $SCH_DEFAULT$ text with the original text from the parameter. For example, if the original parameter is "hello", the line "$SCH_DEFAULT$ world, $SCH_DEFAULT again" would be changed to "hello world, hello again". It is the caller of saschinvoke's responsibility to correctly pass in parameters. The executable does not test the parameters for correctness.


 Siebel Analytics Scheduler Guide
 Published: 11 March 2004