Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Scheduled Notification

 
   Database Help (Home) -> Notification Services RSS
Next:  Problem getting information regarding the applica..  
Author Message
pratibha

External


Since: Dec 16, 2004
Posts: 2



(Msg. 1) Posted: Fri Feb 11, 2005 2:40 am
Post subject: Scheduled Notification
Archived from groups: microsoft>public>sqlserver>notificationsvcs (more info?)

Hi,
I am using scheduled customized event provider which looks for event
every 2 minutes. Similarly i want to make notification to be scheduled,
which will send notification every 2 or 3 minutes.

One way is to add multiple subscription for multiple schedules. But that
would increase the number of records terribly. Is there any other way.

Thanks
Pratibha

 >> Stay informed about: Scheduled Notification 
Back to top
Login to vote
Joe Webb1

External


Since: Apr 28, 2004
Posts: 118



(Msg. 2) Posted: Fri Feb 11, 2005 7:35 am
Post subject: Re: Scheduled Notification [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Pratibha -

The frequency of scheduled subscriptions is governed by its
ScheduleRecurrence property which must be defined in the ICalendar
interface format and use ICalendar recurrence rule syntax.
Unfortunately, sub-day frequencies are not available.

You've mentioned one option, which is to schedule multiple subscriptions
throughout the day. For example, if you wanted to schedule notifications
to be delivered every 6 hours, you could actually create 4 subscriptions
with daily frequencies and have them start 6 hours apart. In your case
every 2 to 3 minutes would be a lot of subscriptions.

Another alternative may be to create an event-driven subscription, one
that is not scheduled at all, but is initiated by the arrival of an
event. Essentially, as soon as an event arrives that matches your
subscriptions criteria, it will generate a notification to be delivered.
You can adjust the quantums for the generator and distributor if need be
to fine tune the application somewhat. Would that work for you?


HTH...
Joe Webb
SQL Server MVP

~~~
Get up to speed quickly with SQLNS
<a style='text-decoration: underline;' href="http://www.amazon.com/exec/obidos/tg/detail/-/0972688811" target="_blank">http://www.amazon.com/exec/obidos/tg/detail/-/0972688811</a>



Pratibha wrote:
 > Hi,
 > I am using scheduled customized event provider which looks for event
 > every 2 minutes. Similarly i want to make notification to be scheduled,
 > which will send notification every 2 or 3 minutes.
 >
 > One way is to add multiple subscription for multiple schedules. But that
 > would increase the number of records terribly. Is there any other way.
 >
 > Thanks
 > Pratibha
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Scheduled Notification 
Back to top
Login to vote
pratibha

External


Since: Dec 16, 2004
Posts: 2



(Msg. 3) Posted: Fri Feb 11, 2005 9:40 am
Post subject: Re: Scheduled Notification [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Joe,
Actually i am using scheduled subscription so I never thought about the
second option. It is the most obvious answer for event driven subscription.
I just wanted to know if there is any another method for scheduled
subscription. I want to know that just for my information. otherwise i knew
the options given by you. May be I forgot to metion scheduled subscription
in my earlier post.

Pratibha

"Joe Webb" <joew.TakeThisOut@webbtechsolutions.com> wrote in message
news:OuvWwJDEFHA.3992@tk2msftngp13.phx.gbl...
 > Hi Pratibha -
 >
 > The frequency of scheduled subscriptions is governed by its
 > ScheduleRecurrence property which must be defined in the ICalendar
 > interface format and use ICalendar recurrence rule syntax. Unfortunately,
 > sub-day frequencies are not available.
 >
 > You've mentioned one option, which is to schedule multiple subscriptions
 > throughout the day. For example, if you wanted to schedule notifications
 > to be delivered every 6 hours, you could actually create 4 subscriptions
 > with daily frequencies and have them start 6 hours apart. In your case
 > every 2 to 3 minutes would be a lot of subscriptions.
 >
 > Another alternative may be to create an event-driven subscription, one
 > that is not scheduled at all, but is initiated by the arrival of an event.
 > Essentially, as soon as an event arrives that matches your subscriptions
 > criteria, it will generate a notification to be delivered. You can adjust
 > the quantums for the generator and distributor if need be to fine tune the
 > application somewhat. Would that work for you?
 >
 >
 > HTH...
 > Joe Webb
 > SQL Server MVP
 >
 > ~~~
 > Get up to speed quickly with SQLNS
<font color=purple> > <a style='text-decoration: underline;' href="http://www.amazon.com/exec/obidos/tg/detail/-/0972688811</font" target="_blank">http://www.amazon.com/exec/obidos/tg/detail/-/0972688811</font</a>><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Scheduled Notification 
Back to top
Login to vote
Joe Webb1

External


Since: Apr 28, 2004
Posts: 118



(Msg. 4) Posted: Fri Feb 11, 2005 11:10 am
Post subject: Re: Scheduled Notification [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Pratibha -

No unfortunately, you cannot schedule a single subscription to occur
multiple times within a single day. I think your only two options are to
create multiple scheduled subscriptions or to move to the event-driven
model.

The latter sounds like a much more appealing alternative since your
event provide is submitting events every couple of minutes and in your
original post you wanted to schedule a subscription for every couple of
minutes as well.

If that's not a a good alternative for you, I'd love to know why.

HTH...
Joe Webb
SQL Server MVP

~~~
Get up to speed quickly with SQLNS
<a style='text-decoration: underline;' href="http://www.amazon.com/exec/obidos/tg/detail/-/0972688811" target="_blank">http://www.amazon.com/exec/obidos/tg/detail/-/0972688811</a>



Pratibha wrote:
 > Thanks Joe,
 > Actually i am using scheduled subscription so I never thought about the
 > second option. It is the most obvious answer for event driven subscription.
 > I just wanted to know if there is any another method for scheduled
 > subscription. I want to know that just for my information. otherwise i knew
 > the options given by you. May be I forgot to metion scheduled subscription
 > in my earlier post.
 >
 > Pratibha
 >
 > "Joe Webb" <joew.RemoveThis@webbtechsolutions.com> wrote in message
 > news:OuvWwJDEFHA.3992@tk2msftngp13.phx.gbl...
 >
  >>Hi Pratibha -
  >>
  >>The frequency of scheduled subscriptions is governed by its
  >>ScheduleRecurrence property which must be defined in the ICalendar
  >>interface format and use ICalendar recurrence rule syntax. Unfortunately,
  >>sub-day frequencies are not available.
  >>
  >>You've mentioned one option, which is to schedule multiple subscriptions
  >>throughout the day. For example, if you wanted to schedule notifications
  >>to be delivered every 6 hours, you could actually create 4 subscriptions
  >>with daily frequencies and have them start 6 hours apart. In your case
  >>every 2 to 3 minutes would be a lot of subscriptions.
  >>
  >>Another alternative may be to create an event-driven subscription, one
  >>that is not scheduled at all, but is initiated by the arrival of an event.
  >>Essentially, as soon as an event arrives that matches your subscriptions
  >>criteria, it will generate a notification to be delivered. You can adjust
  >>the quantums for the generator and distributor if need be to fine tune the
  >>application somewhat. Would that work for you?
  >>
  >>
  >>HTH...
  >>Joe Webb
  >>SQL Server MVP
  >>
  >>~~~
  >>Get up to speed quickly with SQLNS
  >>http://www.amazon.com/exec/obidos/tg/detail/-/0972688811
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Scheduled Notification 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
notification services - - Hello, I am getting this error while running notification services Message: 4120: The number of events in this quantum is greater than the throttle specified for events. Some of the event and subscription views could not be materialized. ...

Receive notification about rows changes. - Perhaps somebody can point me to good step-by-step guide to solve my very common task. There is table "SomeTable". There is field "Status" there. Some process need to process rows in that table when "Status"="Pending&qu...

Notification services or another mechanism .. how do I ... - Greetings all, I am browsing this newsgroup looking for a mechanism to notify my external application when there is a change in my database. And I would like a push in the right direction to find the right mechanism. I have seen discussion around..

How do I get email notification working - I have been given the job of database administrator. I very good at SQL programming, but am just learning about things like backups, replication, etc. and am VERY shaky on anything involving network administration. I am not the one who installed Sq...

Can notification services stand this load? - Hello All, I use notifcation services to send notices to my applications. With increasing load, I have concerns with scallability. In peak times, I predict that I will have 300+ new events and 300+ notices per second. This can be sustained for up to..
   Database Help (Home) -> Notification Services All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]