We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

email notifications about a new private message are not sent | Forum

tammy harris
tammy harris Feb 10 '16
empty the table not the problem filling it up is 
ross Team
ross Feb 10 '16
well, I received forgot password email, but it sends directly to the mail server without using cron. 


I have set my e-mail notifications schedule to "Immediately" 


sent Friendship request to that profile, a private message, and did some posts and comments on his profile


and I got my email with like 10 minutes delay, but that's up to the mail server, probably there's a que of mails 


See screenshot. I'm sorry but we cannot reproduce what you reported on your website

Attachments:
  screen.jpg (160Kb)
ross Team
ross Feb 10 '16
probably you have visited the site before those activity notifications have been sent
The Forum post is edited by ross Feb 10 '16
tammy harris
tammy harris Feb 10 '16
yes most works immediately it when set to 2 days thing it must pile them all up and try do in one go or something 

immediately  is not make a pile up 
ross Team
ross Feb 10 '16
well, if you willing to wait for up to 2 days, I can do the testing with this setting: 


Automatically (if you don't show up on the site for 2 days)


turned on

tammy harris
tammy harris Feb 10 '16
in what file are they made mails for Automatically 
maybe theres a way of step them out and not try do all in one time
ross Team
ross Feb 10 '16
I'm sorry I don't understand, what you want to do and say, please elaborate. 
tammy harris
tammy harris Feb 10 '16
it ok il find the file and see if can change it 
ross Team
ross Feb 10 '16
Do you want to set Immediately by default or what? 
as the Automaticaly is set by default in the software. 
tammy harris
tammy harris Feb 10 '16
no what i am try find in the file that makes the emails
but first il try make 2 crons and see if that fixes it 
as im almost 99% shore thats the problem
cron is overloaded
ross Team
ross Feb 10 '16
what do you mean by overloaded?

the plugin controls how many notifications to send, which should be deleted etc. 


public function __construct()    {        parent::__construct();
        $this->service = NOTIFICATIONS_BOL_Service::getInstance();
        $this->addJob('expireUnsubscribe', 60 * 60);        $this->addJob('deleteExpired', 60 * 60);
        $this->addJob('fillSendQueue', 10);    }


this can be find in the cron.php file in activity notifications plugin

tammy harris
tammy harris Feb 10 '16
cron is overloaded  most times it needs run over 1 minute to do all it has to do 

sometimes 2 minutes 
ross Team
ross Feb 10 '16
well, you filled your website with a lot of plugins from store, some has the functionality based on cron jobs to be run, you can check which plugin cron jobs are executed in ow_base_cron_jobs table, I believe there a lot
tammy harris
tammy harris Feb 10 '16
yes and thats why there should be 2 crons 
one for base and base plugins
one for 3 rd party plugins

that how every other script does it so cron does not get over loaded

skadate have fixed it and made 2 crons 
ross Team
ross Feb 10 '16
What are you talking about? Skadate DOES NOT have 2 crons, that is 100% false information
tammy harris
tammy harris Feb 10 '16
i had to make my plugin work on a skatdate site and i am 100% shore on ow cron i seen 2 cron run php 


The Forum post is edited by tammy harris Feb 10 '16
tammy harris
tammy harris Feb 10 '16
from memory one was called light cron run the other was heavy cron run


ross Team
ross Feb 10 '16
what is light and heavy cron?
tammy harris
tammy harris Feb 10 '16
skadate has 2 cron runs

light-cron-run.php

and
heavy-cron-run.php
tammy harris
tammy harris Feb 10 '16
so in cpanel you would need 2 cron commands
The Forum post is edited by tammy harris Feb 10 '16
Pages: « 1 2 3 4 5 6 »