public void SetJob(JobConfiguration job)
        {
            var oldJob = configurationManager.ClientConfiguration.Jobs.FirstOrDefault(x => x.Id == job.Id);

            if (oldJob == null)
            {
                configurationManager.AddJob(job);
            }
            else
            {
                configurationManager.DeleteJob(oldJob.Id);
                configurationManager.AddJob(job);
            }
        }