Home » Microsoft » 70-573 » Which schedule should you use?
You need to schedule a timer job to run every two hours.
Which schedule should you use?
A. SPDailySchedule
B. SPHourlySchedule
C. SPMinuteSchedule
D. SPOneTimeSchedule
Correct Answer: C
Explanation/Reference:
MNEMONIC RULE: "SPMinuteSchedule"
SPMinuteSchedule object has Interval property that allows set the interval of the schedule to 120 minutes (2 hours).
SPHourlySchedule object does not have Interval property, so it can only run a job every hour.
SPMinuteSchedule Members
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spminuteschedule_members.aspx
SPHourlySchedule Members
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.sphourlyschedule_members.aspx