Notifications

Post Reply
pepe
Sponsor
Sponsor
Posts: 556
Joined: 25 Aug 2015, 21:35
Name: Pepe
Location: Graz, Austria
Contact:

Notifications

Post by pepe »

Hi Sergey,
it looks like, I am running into big trouble. the previously fixed problem with Email notifications seems to be back. Please see attached file:
2021-01-14_Notifications.pdf
(76.88 KiB) Downloaded 196 times
Thank you, Pepe
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Notifications

Post by support »

jsut configure cron to send less 750 per day.
You can run cron every 5 minutes and send just one email when cron running.
pepe
Sponsor
Sponsor
Posts: 556
Joined: 25 Aug 2015, 21:35
Name: Pepe
Location: Graz, Austria
Contact:

Re: Notifications

Post by pepe »

Please read the attachment (red text), there are a lot more problems!!!
I limited the number of emails to be sent to 6 long time ago!
It cannot be correct that:
1. Path in Email is not correct:
- the "s" in https is missing, and
- the path is not correct (I have fixed this in conf/server.php) by adding the path but it does not do it anymore
2. There are hundreds of mails are being send from records which have not been edited and have not changed (does not have to do with automatic status, the message says that priority has changed. priority is regular dropdown)
Thank you, Pepe
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Notifications

Post by support »

Well see config/server.php where you can find option CRON_HTTP_SERVER_HOST
this option using to configure http link in cron.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Notifications

Post by support »

Also you can open phpmyadmin and select table app_emails_on_schedule and delete all emails that you don't need.
pepe
Sponsor
Sponsor
Posts: 556
Joined: 25 Aug 2015, 21:35
Name: Pepe
Location: Graz, Austria
Contact:

Re: Notifications

Post by pepe »

As I have written in my last post:
- CRON_HTTP_SERVER_HOST has been set to path. This has worked until last Saturday. Now the problem is as described above.
- I will delete all records in table app_emails_on_schedule ... not certain how this should fix the problems.
As I mentioned before, there is a presentation coming up and would be extremely important to succeed.
I will inform you on what happened after table will be cleared out.
Thank you, Pepe
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Notifications

Post by support »

This has worked until last Saturday.
If you did not change code then there was some updates on server and probably something is conflicted.
pepe
Sponsor
Sponsor
Posts: 556
Joined: 25 Aug 2015, 21:35
Name: Pepe
Location: Graz, Austria
Contact:

Re: Notifications

Post by pepe »

Hi Sergey,
I have looked into table app_emails_on_schedule and there where thousands of records, all related to the priority field in tasks entity. There are options:
"tash" = No priority
"Pin emoji" = high priority

My thoughts on this:
1. The "is active" has been turned off, nevertheless, the system kept on generating items in app_emails_on_schedule
2. I field rule, I have choosen both options "tash" and "pin" for emails to be sent. This might be a problem?

I have deleted now that rule and hopefully the system will stop sending these emails.
Best, Pepe
pepe
Sponsor
Sponsor
Posts: 556
Joined: 25 Aug 2015, 21:35
Name: Pepe
Location: Graz, Austria
Contact:

Re: Notifications

Post by pepe »

For now, the problem has been solved by the above described measures.
Best, Pepe
Post Reply