6
votes
5answers
442 views

When should we use SharePoint Timer job and when Windows Task Scheduler?

Can somehow explain me what are of the benefits of using SharePoint Timer jobs over Windows Task Scheduler?
0
votes
2answers
710 views

How to have SPSite object available in custom Timer Job?

Here's my FeatureActivated method: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite site; MyCustomJob customJob; SPDailySchedule schedule; ...
1
vote
1answer
798 views

Access service context in timer job

I have custom claims provider which uses user profile service to get some data when resolving claims for user. I'm creating UserProfileManager this way: private UserProfileManager UserProfileManager ...