Wednesday, May 25, 2011

Email Notification Delays in SharePoint 2007

I was observing delays in notification email being received when I assign a task to someone using SharePoint Task.
I have already post on how to resolve it in SharePoint 2010. Here is a revision again

The timer interval service which sets this delay is called "job-investigation-alerts" This service send notifications out. The default timer interval is 5 minutes but we can of course change it using stsadm command

Open command prompt and browse to 12\bin and run the following command to identify if the job is running on the site

stsadm -o getproperty propertyname job-immediate-alerts -url < your-site-URL >

If you get Property Exists="Yes" and Value as some value defining the interval configured, it means that the service is running and you can change the interal using the following command

To set the property run the following command

stsadm -o setproperty -propertyname job-immediate-alerts -propertyvalue < A valid Windows SharePoint Services Timer service schedule > -url < your-site-URL >

Property Value can be set in the following manner

stsadm -o setproperty -propertyname job-immediate-alerts -propertyvalue "every 1 minutes between 0 and 59"

By running the above command you set the job to run every minute


No comments: