I have the below code in the timer job. I am hoping that the schedule will start at 20th min of the hour and end at the 25th minute. Is that the way it works? Because currently it fires around 30th min of the hour. Do I need to make any changes to the below values if I want it to start perfectly at 20th min of the hour.
Also is there a way to know the time that the batch is scheduled to fire (from central admin or other tools,object model).
ReconcileAbsencesJob taskLoggerJob = new ReconcileAbsencesJob(TASK_LOGGER_JOB_NAME, site.WebApplication);
SPHourlySchedule schedule = new SPHourlySchedule();
schedule.BeginMinute = 20;
schedule.EndMinute = 25;
taskLoggerJob.Schedule = schedule;
View Complete Post