Email digests /scheduler


I have setup the cron_bridge.php scheduler and that seems to be logging an updated time on the dashboard every 5 minutes as expected.
I want to have forum email digests sent out to those who enable it in notifications.
The option is now showing in config to enable digests and i have enabled a test user to receive daily digest but nothing seems to be sent.
Have checked e-mail audit log and nothing is being attempted to be sent by cron.
What am i missing? It is something to do with the comcode scheduler bit at the bottom of the dashboard view and if so what do i enter here?
Tia
Chris




lg11 said
Have you set up the email smtp server? also some hosts (one of mine for example) mess up smtp and i have to use php mail
From “Post #1,783”, 25th January 2017, 11:01 am
I liked that you answered, but actually

Even if outbound email was broken, the Composr log would still show the email there.
I'm giving this some consideration…
Last edit: by Chris Graham
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


Digests are sent out via the scheduler. A member can only choose to receive digests if the scheduler is set up and if they have configured an e-mail address.
[Note - this would be the case for you, given you've already said you've set them up on the test account]
Digests are not sent out at any specific time (to avoid overloading outbound e-mail each night), but rather each member's digests are individually time-tracked using the digestives_consumed table. For each member there is a timestamp in that table representing when each of their digest's was last sent. When the scheduler runs it looks to see what digests are due and sends them if there's any content for them.
Actual digest content is queued up in the digestives_tin table.
[Note - so you may want to see what is in these tables]
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


thanks for the notes.
i'll take a look at the tables tonight, and if that does not reveal anything, i will let you know.



Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.





I made a change yesterday to Admin Zone » Setup » Configuration » Site options to enable "E-mail queue".
Is this a requirement to have this enabled for the e-mail digest scheduler to work ?
Chris


supertramp4 said
Ive just got a digest through.... Yeh
I made a change yesterday to Admin Zone » Setup » Configuration » Site options to enable "E-mail queue".
Is this a requirement to have this enabled for the e-mail digest scheduler to work ?
Chris
From “Post #1,797”, 26th January 2017, 1:44 pm
Shouldn't be, I just checked the code and the notification CRON stuff just sends a mail in the normal way, which either will go into the queue (in which case you'd see it in the log) or it would log and then go out immediately.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.



I dont like Digestives, i am more a hob knob kinda guy
