Andrew Connell [MVP MOSS]
1402 Posts |  39 Articles |  3659 Comments
.NET  |  MCMS  |  SharePoint  |  Office System
SharePoint Quick Links
Article Categories
Archives
Post Categories


Add to Technorati Favorites

For the last three weeks, we've been trying to change the schedule of when the daily & weekly portal alerts are sent out for users. The problem is alerts are sent out around 1AM. Using the STSADM.exe utility, you are supposed to be able to set a few properties that specify when alerts can be sent out. For WSS sites, the properties are job-daily-alerts, job-weekly-alerts, and job-immediate-alerts. For SPS, the properties are job-daily-notification, job-weekly-notification, and job-immediate-notification. But for some reason the changes weren't taking effect... alerts were still being sent out anywhere from 11pm-3am. Why was this an issue? We had some people who setup daily alerts and when they were on call, their Blackberry's would wake them up in the middle of the night, just to tell them a document was updated 8 hours ago.

After fiddling with it for a few days with no luck in making any changes take effect, I gave up, and just opened a ticket with MS PSS. After 2.5 weeks, I finally get word that those properties don't work and were never removed from the documentation OR the list of available properties for the STSADM.exe utility. The only way, according to PSS, is to change the schedule of the index crawls as the notifications are sent at that time. So, if you don't want alerts to be sent out in the middle of the night, you index crawls need to be set to crawl in the middle of the day. Getting the feeling this product may have been rushed to market a little too quick.

posted on Tuesday, November 16, 2004 11:14 PM

Feedback

# Alcuni ottimi articoli su SharePoint 11/23/2004 1:04 PM Roberdan


 re: Interesting "over-documented" setting in SharePoint Portal Server regarding alerts 12/20/2004 1:11 PM Rummy Beer
So, your are completely sure that this parameters in WSS and SPS alerts don't work at all?

I'm having the same problem...

# re: Interesting "over-documented" setting in SharePoint Portal Server regarding alerts 12/20/2004 1:13 PM Andrew Connell
That's exactly what I was told by the person working my case. We've had ideas that you could create another instance of the notification service to be run only during certain times (like a scheduled start/stop of the Win32 service), but we haven't given it a shot.

 re: Interesting "over-documented" setting in SharePoint Portal Server regarding alerts 12/21/2004 6:37 PM Rummy Beer
Andrew:
1) Sorry for my english :-(
2) I've been researching on my own about this problem, and found something interesting:

There is a table on the "<xxxx>_SERV" database of the Portal, named <<sub_SubscriptionSchedule>>, that contains the records for every subscription of a user. This table has 3 interesting columns:

- lastNotificationTime
- NextNotificationTime
- timeInterval (default to "1440", minutes, I guess - (24 hours))

The first time a user subscribes to a notification on the Portal (WSS? don't know), the value of the column nextNotificationTime is set with the following formula (as you can see in the StoredProcedure "sub_setScheduleNotification" of the same database)

"select dateadd(minute, RAND()*1440, getutcdate())"

Constantly, the SPS Notification Service is executing a StoredProcedured named <<sub_GetNotificationSeeds>>, and when it finds notifications on the queue, this service calls the <<sub_GetNewsLetterNotification>>. I'm still trying to understand the workflow of all this process (relation between fields and how the values change over time, etc.), but it seems at first sight that if I manually change the <<NextNotificationTime>> value (considering the UTC hour of the server) for each user, the notifications are send at the specified time, at least the "daily" notifications.

This is just an experiment.... don't know yet if could be usefull somehow.

By the way, it seems that the stsadm.exe utility stores the values that you mentioned in the <<properties>> field of the <<virtualservers>> table of the SPS configuration database.


# re: Interesting "over-documented" setting in SharePoint Portal Server regarding alerts 12/22/2004 6:03 AM Andrew Connell
Wow... nice observation Rummy... I'll take a look at this.

# re: Interesting "over-documented" setting in SharePoint Portal Server regarding alerts 10/5/2005 6:15 AM Praveen
I am new to SharePoint.I have been given task of cusomizing alerts in the following way:
1. If we are editing any document then we set an alert and when we are editing any list then we set an alert.But if that list conatins a document and we change that document in the list then we receive two alerts .one for changing the list and one for changing the document.WE need only one alert.

2. We want to customize the format of email in alerts.

Waiting for a positive response.


 re: Interesting "over-documented" setting in SharePoint Portal Server regarding alerts 6/13/2007 1:00 AM Michael
Gravatar Reviving an old article - but was there ever an easy solution for this?
Just running into the same problem now.

# re: Interesting "over-documented" setting in SharePoint Portal Server regarding alerts 6/13/2007 8:22 AM AC [MVP MOSS]
Gravatar Michael-
Not sure... check the setup/admin newsgroup and make sure you specify v2/v3.

Post Feedback

Title:
Name:
Email:
(email will not be displayed)
Url:
Comments: 
Please add 6 and 5 and type the answer here:    
All Comments Are Filtered & Moderated
Unfortunately comment spammers are just too effecient and are constantly dirtying up blogs with irrelivant and unwanted comments trying to improve their standing on search engines. All comments on this blog are moderated. I do not censor comments, but I don't approve comments with vulger language or those soliciting products. Most of the time comments are approved within a few hours of being submitted with the only exception when I'm traveling.

Why are you asking for my email address?
The only reason I'm asking for your email address, which isn't required to submit a comment, is to provide a gravatar if you've created an account for yourself and associated your email address with a small image. If you have a gravatar created for the email address you submit, it will appear next to your comment. Otherwise nothing will appear.

What is a gravatar?
A gravatar is a "globally recognized avatar." You can get more information about gravatars, as well as create your own for free, at www.gravatar.com. You can also view my gravatar here.


Copyright © 2003 - 2008 Andrew Connell
Creative Commons License 
This work is licensed under a Creative Commons License
Site design by Heather Solomon.

 
 
MOSS WCM Training
Looking for MOSS 2007 WCM developer training? Look no further! I teach my 4-day hands-on and 5-day online WCM classes for developers I offer through the Ted Pattison Group.

Get more information on the WCM courses!


Upcoming Classes
 Hands-on WCM:
 » Tampa, FL
   Jan 12-15, 2009
 Online WCM:
 » Dec 8-12, 2008


» Register today!

JAX Office Geeks
Jacksonville Office Geeks (JOG)
JOG is a special interest group in Jacksonville, FL dedicated to bringing the local SharePoint commnity together to share tips, tricks, ideas and best practices for developing solutions on the SharePoint platform.

Next meeting details...
When:
Thur. Nov 20th, 2008
  6-8p EDT
Topic:
Creating & Debugging Custom Timer Jobs in WSS

Speaker:
Andrew Connell, MVP MOSS

RSVP Today!


» Subscribe to the JOG newsletter