Resetting the scheduling:
schedule.ResetScheduling();
Changing the scheduling:
schedule.SetScheduling(run => run.Every(2).Hour());
You can't change the scheduling if the schedule is already running, make sure it's stopped before doing so.
Resetting the scheduling:
schedule.ResetScheduling();
Changing the scheduling:
schedule.SetScheduling(run => run.Every(2).Hour());
You can't change the scheduling if the schedule is already running, make sure it's stopped before doing so.