title: How do I generate cron expressions from the value read from app settings in c#
body: <p>I have below code to execute some job every configured minutes.</p>
  
  <pre><code> int frequencyOfScheduler = int.Parse(ConfigurationManager.AppSettings["FrequencyInMinutes"]);
  
   IJobDetail job = JobBuilder.Create&lt;CleanUpJob&gt;().Build();
   ITrigger trigger = TriggerBuilder.Create()
        .WithIdentity("CleanUpJob", "ScheduledJob")
        .WithCronSchedule("0 0/1 * 1/1 * ? *")//Hardcoded 
        .Build();
        scheduler.ScheduleJob(job, trigger);
  </code></pre>
  
  <p>Currently frequency is hard coded in cron settings as follow</p>
  
  <pre><code>      .WithCronSchedule("0 0/1 * 1/1 * ? *")
  </code></pre>
  
  <p>How do I generate cron expression from value read by appsettings?</p>