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