...
Code Block |
---|
<?xml version="1.0" encoding="ISO-8859-1"?> |
Code Block |
<job>
<params>
<param name="test" value="12345"/>
<param name="powershell_script" value="powershell\powershell_job.ps1"/>
</params>
<script com_class="JSPowershellAdapter.JobAdapter"/>
<run_time once="no"/>
</job>
|
...
Code Block |
---|
Function spooler_init() \{ if ($spooler_log) \{ $spooler_log.info("This is spooler_init") $spooler_log.info("TaskID: "+$spooler_task.id) \} return $true \} |
Code Block |
Function spooler_open()
\{
$spooler_log.info("This is spooler_open")
return $true;
\}
|
Code Block |
Function spooler_process()
\{
$spooler_log.info("This is spooler_process")
return $false;
\}
|
Code Block |
Function spooler_close()
\{
$spooler_log.info("This is spooler_close")
\}
|
Code Block |
Function spooler_exit()
\{
$spooler_log.info("This is spooler_exit")
\}
|
Code Block |
Function spooler_on_success()
\{
$spooler_log.info("This is spooler_on_success")
\}
|
Code Block |
Function spooler_on_error()
\{
$spooler_log.info("This is spooler_on_error")
\}
|