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