Many times we need to change the default timer settings either by increasing the default time or by decreasing the default time of the timer jobs for a particular sharepoint site. Particularly if you want to send an email as soon as an action is performed within the sharepoint, in such a scenario you will need to decrease the default timing of the timer job. There are two commands by which you can achieve this very easily:-
- Finding the default time of the timer job, the delay in sending mails could be due to the default timing of the timer jobs which is by default 5 minutes.
- stsadm –o getproperty –pn job-immediate-alerts –url http://yoursharepointsiteurl:yourportno
- Decreasing the default time of the timer job to 1 minute.
- stsadm –o setproperty –pn job-immediate-alerts –url http://yoursharepointsiteurl:yourportno –pv “every 1 minutes”
That’s all you need to do to adjust the default timer job timing delays. Happy Programming!!!!!!!!!!!!!!!!!