what is the use of Timerjobs in sharepoint development.
-
lundi 4 juin 2012 10:15
Hi,
what is the use of Timerjobs in sharepoint development. could you please explain with scenarios where it is used with some examples.
Thanks in advance.
Toutes les réponses
-
lundi 4 juin 2012 12:04Modérateur
Hi,
you may create timer job when you dont need any user interface:
1. Send Report or Data from sharepoint site to user at specific time or day such as Daily / weekly / Monthly / Yearly
2. If you have to do some operation at every minute or at some specific frequency
3. If you have any schedule task or activity
Here is some good example to create timer job:
http://dotnetfinder.wordpress.com/2010/07/24/creatingcustomsharepointtimerjob2010/
http://code.msdn.microsoft.com/sharepoint/SharePoint-2010-Custom-416cd3a1
Hope it could help
Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
- Proposé comme réponse Dirk Van den Berghe lundi 4 juin 2012 13:23
- Marqué comme réponse Jack-GaoMicrosoft Contingent Staff, Moderator vendredi 15 juin 2012 11:24
-
mercredi 27 juin 2012 19:25
Hello Hemendra.
I'm having the same kind of question above, I know a Timer Job is a class inheriting from SPJobDefinition and all what this link talks about http://www.simple-talk.com/dotnet/.net-tools/a-complete-guide-to-writing-timer-jobs-in-sharepoint-2010/
But I would like to know if I can execute external tasks, I mean execute a batch file, call a web service, call DLL classes, etc.
Ivan Dario Ospina C#.NET, T-SQL Developer

