Example #1
0
 public void StartJob(
     string workingDirectory, string filename, int secInterval)
 {
     var job = new Job(workingDirectory, filename, secInterval);
     if (secInterval > 0)
     {
         reserveId(job);
         saveJobs();
     }
     job.Start();
 }
Example #2
0
 void startJobCore(Job job)
 {
     reserveId(job);
     job.Start();
 }