Ads 468x60px

.

Pages

Showing posts with label alerts. Show all posts
Showing posts with label alerts. Show all posts

Wednesday, February 23, 2011

Enable \ Disable Sharepoint alerts

Hello Everyone 

Today i found out a cool way to Disable or Enable alerts in sharepoint.

Why is this so cool you ask ? because instead of canceling all the email features (such as Workflows) i can disable just the alerts. 

this is the way to do it : 

Disable Alerts 
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url http://Web_App-URL

Enable Alerts 
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue true -url http://Web_App-URL

And if you want this to happen right away you should Restart the timer services by going to RUN > Services.msc and restarting a service called  " Windows Sharepoint Services timer"

after which this command should follow :
stsadm -o execadmsvcjobs
that it :-)