GetOutputString empty? - VisualCron - Forum

Community forum

Flashbulbriot
2014-11-25T20:13:10Z
Here is a snippet of code in c#/.net

string stdout = server.Jobs.Tasks.GetOutputString(OutputInfoClass.OutputT.StandardOutput, JobID, task.Id, true);
string stderr = server.Jobs.Tasks.GetOutputString(OutputInfoClass.OutputT.StandardError, JobID, task.Id, true);

stdout will fill incorrectly, but stderr will be an empty string.

If I run the second line again it will populate stderr correctly. Is there some kind of flush I am missing?
Support
2014-12-29T17:33:48Z
Not that we are aware of. Which version do you use now?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Flashbulbriot
2015-01-08T14:52:52Z
We are using version 1.0.1.19710 of the api dll, and version 7.5.1 of the server/client.
Users browsing this topic
Scroll to Top