Info | ||||
---|---|---|---|---|
| ||||
|
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Scope
- You can use the JobScheduler PowerShell Adapter to create jobs or pre-processing and post-processing Monitors that use
...
- the JobScheduler API
...
- in PowerShell.
- This feature is provided by
Jira server SOS JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 6dc67751-9d67-34cd-985b-194a8cdc9602 key JS-1596 Display feature availability EndingWithRelease 1.10 StartingFromRelease 1.9
- Future releases will use a new interface that is available with
Jira server SOS JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 6dc67751-9d67-34cd-985b-194a8cdc9602 key JS-1595
Requirements
- Windows Machine with a JobScheduler installation
- .Net Framework 4
- PowerShell 2 or newer
...
- Download the JobScheduler PowerShell Adapter from http://www.sos-berlin.com/download/scheduler/JobSchedulerPowershellAdapter.zip
- Unzip the files file to the
bin
directory of your JobScheduler installation Register the assembly by running
Code Block language bash title Registration for Windows 32 bit operating systems C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "[install_path]\bin\JobSchedulerPowershellAdapter.dll" /codebase
Code Block language bash title Registration for Windows 64 bit operating systems C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe "[install_path]\bin\JobSchedulerPowershellAdapter.dll" /codebase
...
Code Block | ||
---|---|---|
| ||
Function spooler_task_before() { $spooler_log.info("powershell: This is spooler_task_before()") return $true } Function spooler_process_before() { $spooler_log.info("powershell: This is spooler_process_before()") return $true } Function spooler_process_after(bool $spooler_process_result) { $spooler_log.info("powershell: This is spooler_process_after with result $spooler_process_result()") return $spooler_process_result } Function spooler_task_after() { $spooler_log.info("powershell: This is spooler_task_after()") } |
References
Change Management References
Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|