Cron Scheduler every day at 12 midnight
<p>I implement a schedule in MVC app to run job in every day midnight. This is the code.</p>

<pre><code>    IScheduler sched = container.Resolve&lt;IScheduler&gt;();
    sched.JobFactory = new AutofacJobFactory(container);
    sched.Start();

    IJobDetail job = JobBuilder.Create&lt;ProcessInvoiceJob&gt;()
           .WithIdentity("job1", "group1")
           .Build();

    ITrigger trigger = TriggerBuilder.Create()
        .WithIdentity("trigger1", "group1")
        .WithCronSchedule("0 0 * * * ?")
        .Build();


    sched.ScheduleJob(job, trigger);
</code></pre>

<p>I read few articles and it contains cron expression for 12 midnight is "0 0 * * * ?" </p>

<p>Eg : <a href="http://blog.bobcravens.com/2009/10/an-event-based-cron-scheduled-job-in-c/" rel="nofollow noreferrer">http://blog.bobcravens.com/2009/10/an-event-based-cron-scheduled-job-in-c/</a></p>

<p>The issue is my schedule executes in <strong>every one hour</strong>... How to fix this?</p>