lundi 4 juin 2012 10:15
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
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:
Hope it could help
Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
mercredi 27 juin 2012 19:25
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