Server - jobActivity
Server - jobActivity
Description :
This command returns all the job activity performed on the specified target server within the specified date range. The job activity items are displayed in the following format:
Job Name | Job Type | Job Run | Status | Start Time | End Time | User Name | Role Name
Return type : java.util.List
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
startDateString | String | Start date. Use the format YYYY-MM-DD HH:MM:SS |
endDateString | String | End date. Use the format YYYY-MM-DD HH:MM:SS or "" (empty string) to indicate the current date and time (now). |
serverName | String | Name of the server. |
Example
The following example returns all the job activity performed on the target server localhost within the date range of 2008-01-29 01:02:03 to "" (now).
Input
Server jobActivity "2008-01-29 01:02:03" "" localhost
Output
[nsh_job|NSH Script Job|Completed with Errors|Sun Jan 20 17:07:05 IST 2019|Sun Jan 20 17:08:13 IST 2019|BLAdmin|BLAdmins,
Test_Blpackge_job|Deploy Job|Completed Successfully|Sun Jan 20 16:08:52 IST 2019|Sun Jan 20 16:09:28 IST 2019|BLAdmin|BLAdmins
Test_Blpackge_job|Deploy Job|Completed Successfully|Sun Jan 20 16:08:52 IST 2019|Sun Jan 20 16:09:28 IST 2019|BLAdmin|BLAdmins
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*