Definition: Timer Job is a process that runs periodically in background.
You can find the timer job from Central Administration >> Monitoring. You can check the status of the timer job from Check Job Status link.
Scenarios: Followings are some examples of real time business requirements.
- Send weekly emails to manager on every Friday before closing of the day
- Send daily status to client - every day at 6.00 PM
- Check the entire farm once every month and delete closed sites.
Periods: A SharePoint Timer job can be executed on one of the below schedules.
- Minute
- Hour
- Day
- Week
- Month
- Year
- One Time
Notes:
- You need to attach “OWSTimer.exe” process in order to debug the code.
- Timer Job will be deployed as “Farm Solution” only.
- Every time you change the code of Timer Job, you need to restart the SharePoint Timer Service from windows services (services.msc).