Beispiel #1
0
 private void onJobTerminate(Object sender, JobEventArgs e)
 {
     Console.Out.WriteLine("{0} JobID: {1}:\t Job has teminated.", DateTime.Now, e.JobId);
     DatabaseManager.updateJob(e.JobId, e.JobState);
 }
Beispiel #2
0
 private void onJobRun(Object sender, JobEventArgs e)
 {
     Console.Out.WriteLine("{0} JobID: {1}:\t Job is runnig.", DateTime.Now, e.JobId);
     DatabaseManager.updateJob(e.JobId, e.JobState);
 }