I need some guidance either on the UI or the intended functionality of the notifications_scheduler sub-module. I've successfully setup content notifications and taxonomy notifications. Now I wanted to create a digest that users can subscribe to. I performed the following steps:

  1. Enabled notifications_scheduler (had to download job_scheduler and job_scheduler_trigger from https://github.com/developmentseed/job_scheduler_trigger).
  2. Created a new trigger with the job scheduler (admin/config/system/job_scheduler)
  3. Created a new scheduled notification (admin/config/messaging/notifications/scheduler)
  4. Assigned the trigger to the scheduled notification (admin/structure/trigger/job_scheduler)

Now I can see my scheduled notification in the notifications settings menu (admin/config/messaging/notifications/scheduler), but I don't know how to allow users to subscribe to this notification.

I've set my permissions to allow users to manage their own subscriptions; as I said, the subscription process seems to work fine for the content and taxonomy sub-modules. Do I just not understand the purpose of the scheduler sub-module, or am I missing an important setting in the UI?

If someone can help me out, I'd love to write up some documentation for using the scheduler sub-module.

Comments

areynolds’s picture

Ok, I think I'm starting to understand this a bit better. notifications_scheduler only creates a notification event (it extends Notifications_Event), it doesn't create a new subscription (for which it would need to extend Notifications_Subscription_Simple).

So if I create a scheduled notification, I've only created a notification event which should be triggered according to the schedule I set. The question is, who would receive such notifications?

areynolds’s picture

Title: How Do I Subscribe to Scheduled Notifications? » Who Receives Scheduled Notifications?
antares.iv’s picture

I've gotten exactly that far and no farther. The preview of the notification is exactly what I need, but I don't see it in the list of subscriptions to let it be subscribed to.

webflo’s picture

Scheduled notifications are not special. Every event can be scheduled. You need to change the interval to "Scheduled" for these subscriptions.

Try this patch.

antares.iv’s picture

StatusFileSize
new27.06 KB
new34.06 KB
new19.77 KB

The actual issue, is how do you subscribe to this notification?

webflo’s picture

Goto notifications/subscription/add and create a new subscription.

antares.iv’s picture

StatusFileSize
new18.89 KB

I don't see anywhere to create a new subscription. Besides the modules listed in the OP is anything else required?

webflo’s picture

notifications/subscription/add is an url like http://example.com/notifications/subscription/add. Enable notifications_ui to access this page.

zengenuity’s picture

Using the patch from #4, I can get the notifications to go out as digest on a cron run. But, it seems like you can really only have one time duration for sending. In D6 you could allow the user to choose Daily Digest, Weekly Digest, Twice a Day etc. Now you only have Immediately and Scheduled, which I can set but has to be the same for all users. Is that right, or is there something I'm missing?

kriskhaira’s picture

Patch #4 enables the digest and Scheduled features for me.

peter mcandrew’s picture

Thanks webflo, is there a way to add a subscription to a 'role' had a look round but couldn't see anything,

thanks

chrisroane’s picture

For those interested, I just posted a similar issue to this: #1515526: Notifications Scheduler: Digest Options and User Settings