Initial Release
Clone/git pull the repo into any local directory
$ git clone https://github.com/intersystems-community/objectscript-docker-template.git
Open the terminal in this directory and run:
$ docker-compose build
$ docker-compose up -d
Get System task details in REST service
Create a web application and add this dispatcher class.
database information urls
Task information urls
List of urls
Sample JSON
[
{
“Last Start”: “2023-08-21 09:17”,
“Completed”: “2023-08-21 09:17”,
“Task Name”: “ExportQueryToCSV”,
“Status”: “1”,
“Result”: “Success”,
“Task”: “1001”,
“NameSpace”: “LEARNING”,
“Routine”: “Samples.TaskMgr.SQLExportTask”,
“Pid”: “14188”,
“%ER Date”: “”,
“%ER Error #”: “”,
“Username”: “_SYSTEM”,
“LogDate”: “2023-08-21”,
“LogTime”: “33446”
}
]
task history for specific task
http://localhost:52773/crud/task/taskhistory/ExportQueryToCSV
Run the various URLs from your Browser or Postman or similar