Take a look at class %SYS.Task.
All the properties you need to be able to assess whether a task has run and when the next run datetime will be, are there. Some of the property names are not that obvious so you might run a query against that class and then compare what you get with what you see in the Ensemble Task Scheduler.
Take a look at class %SYSTEM.Encryption, it's all there.
Certifications & Credly badges:
Rob has no Certifications & Credly badges yet.
Global Masters badges:
![Open Sesame!](https://community.intersystems.com/sites/default/files/badges/303371180-6de11138-f4e7-4113-b5cc-836269f07693.png)
![Challenge Starter](https://community.intersystems.com/sites/default/files/badges/295959213-b83dd91a-663f-4f07-8e0e-e3287b7c2309.png)
![DC Commenter](https://community.intersystems.com/sites/default/files/badges/dc_commenter_1.png)
![DC Problem Solver](https://community.intersystems.com/sites/default/files/badges/dc_problem_solver_1.png)
Followers:
Rob has no followers yet.
Following:
Rob has not followed anybody yet.
The opening and closing square brackets, [], already indicates that you are getting back an array of errors, in this case the array has 1 element.