Ran the first time but bombed out the second time.

Jul 13, 2012 at 8:34 PM

I unzipped and ran the app from VS 2010 and it worked.  Later in the day, it bombed out. There was an index out of range error in getsimpletest.  I added the following code to check if there were any tasks:

if

 

(taskerObj.Tasks.Count > 0)

{

mon.Log =

"The Task will be executed on: "

+ taskerObj.Tasks[0].ScheduledFor.ToString();

}

 

else

{

mon.Log =

"No Tasks Found at: " + DateTime

.Now.ToLongDateString();

}