Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


billweh
2008-05-19T16:26:29Z
I'd like to see two additions to the API.

1. A call to a Job something like "getNextRunTimes(int numHrs)". This would then return an array of date/times that would be all of the times that a job would run in the set of hours from when it's called. So if I passed in "12" - I would get all of the times that a job would run in the next 12 hours. Along with this, I'd also like to see a call that might be "getAllJobsNextRunTimes(int numHrs)" that also passes back an array with job_ids as well as the next date/time that a job is going to run in the set time frame.

2. If possible, instead of passing back ArrayLists, use the new List<> generic - so that for instance, instead of getting back an ArrayList of Jobs - you would get back List<JobClass>. This one would be at the bottom of my list 🤔, but it would be a nice feature.

Sponsor
Forum information
Support
2008-05-21T19:24:42Z
As for the second one it is related to that generics are not accepted for exposure when exposing a ComClass. An interesting question would be how many are interested in developing API in other language than .NET? If not we could skip this boxing.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
billweh
2008-05-27T16:51:57Z
I do all my development now in .NET - I can't see any reason to want to do COM anymore. :)

Support
2008-05-28T17:22:51Z
Good boy =d&gt;
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top