To whom it may concern....
I've played around with this issue some more and here what I know, I modified the TestClient app and changed the Jobs_EventOnJobAdded to look at follows:
void Jobs_EventOnJobAdded(ref Server s, JobClass j)
{
if (j.Name == @"ExecuteJob")
{
s.Jobs.Run(j, true);
}
}
What I want my app to do is be able to run a job after a job has been added. This is issues was addressed before in the API forum under:
http://www.visualcron.co...m.aspx?g=posts&t=929 And it seems since then that the API behavior has changed again. If I run the modified TestClient app local(i.e. all on the same PC) the behavior I see is that when the EventOnJobAdded occurs and after the app tries to run the job, the job won't start running until after the TestClient is terminated(you have to kill it because it won't let you disconnect). If I run the TestClient on a remote PC, then it work correctly and the Job starts running right away.
What the heck is going on? How do I get my app to run local on the same PC as the VisualCron server?