what is the use of Timerjobs in sharepoint development.
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.
June 4th, 2012 6:21am
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 helpCheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
Free Windows Admin Tool Kit Click here and download it now
June 4th, 2012 8:08am
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
July 14th, 2012 11:39am