There are scripts available to raise an event from a command line.
These scripts are creating an order, which is then submitted to the JobScheduler. The order contains all mandatory information for the event.
By default, the scripts are using the JobScheduler start script to communicate with the JobScheduler. This works, if a JobScheduler installation is available and the ./bin folder of the JobScheduler is in the path variable.
If there is no JobScheduler installation on the host where the event has to be raised, then the script can use instead of the JobScheduler start script a perl script, which will do the communication.
The perl script is available as well in the ./bin folder of the JobScheduler installation:
You can find these scripts in the ./bin folder of the JobScheduler installation folder.
The general syntax for these scripts are:
To use the .cmd or .sh script with Perl you have to copy these scripts from a JobScheduler installation to a folder on the host where you want to raise an event.
Modify the script jobscheduler_event.cmd to enable Perl.
Make sure that you have Perl installed and that it is in the PATH on your Windows host.
Start the script jobscheduler_event.sh with the required parameters.
- JobScheduler Events Reference
- The Perl package IO::Socket is required to execute the Perl script.