By ali on Sunday, 26 March 2017
Posted in General
Replies 15
Likes 0
Views 174
Votes 0
after enabling cronjob and working emails for a couple of hours. now emails are not sending to subscribers and superusers.
Hi Ali,

May I know do the server send the successful cron command in your mailbox?
Perhaps, can you provide us with your Joomla backend access, FTP access and to your cron access so we can take a look if any misconfiguration?

You can add the information needed by edit your first post in the Details section or you can just include your site's access once at http://stackideas.com/dashboard/site rather than needing to keep adding them in your replies
·
Monday, 27 March 2017 11:00
·
0 Likes
·
0 Votes
·
0 Comments
·
looks like server working correctly.

ive updated all data you need.
ali
·
Monday, 27 March 2017 19:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ali,

Seems like the backend credential given above is not a super admin access can you change it superadmin access so we can look the settings configured https://www.screencast.com/t/auxlVdqVrCz
and can you copy out one of cron server respond for the komento's cron command in your email and paste in here?
Or can you try to put on the /bin infront of the command and see how it goes as I see there is missing /bin/ in your cron command: https://www.screencast.com/t/02rXHvf3et0w
/bin/wget -O /dev/null "https://yoursite.com/index.php?option=com_komento&task=cron";
·
Tuesday, 28 March 2017 13:05
·
0 Likes
·
0 Votes
·
0 Comments
·
im sorry. i fixed that
ali
·
Tuesday, 28 March 2017 13:07
·
0 Likes
·
0 Votes
·
0 Comments
·
yes i've consulted with server manager. they told me to remove "bin".

also i want to mention that some times its working, but sometimes its not.
ali
·
Tuesday, 28 March 2017 13:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ali,

Kindly find my response for your inquiries below:
yes i've consulted with server manager. they told me to remove "bin".

-> I see

also i want to mention that some times its working, but sometimes its not.

-> I've tried to comment and wait for 5 minutes, seems like the email was sent (where the cron command was running correctly according to your directAdmin configuration) https://www.screencast.com/t/cZusjmMj
May I know, how you observed the cron job was not working? so we can narrow down the possibilities to replicate it.
·
Tuesday, 28 March 2017 17:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your rapid response.
When I try to reply more than 10 comment less than 5 me minute with 30 or more subscribers.
It will make too many email which causing refuse to send new comment or replay emails...
ali
·
Tuesday, 28 March 2017 17:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ali,

I believe that there is email send out to the subscriber, but is because you've make the cron to be run every 5 minute and it only send out 5 email at a time.
5email/5minute

If your site is really huge and active, I would recommend to you to set the cron run every minute or you can set the email to be send more email at a time by edit this file:
.../components/com_komento/controllers/controller.php
find the code below:

$total = $this->input->get('total', 5, 'int');

https://www.screencast.com/t/h4r1ZIQr
and change the '5' to a bigger number.
·
Tuesday, 28 March 2017 19:34
·
0 Likes
·
0 Votes
·
0 Comments
·
So now I can understand the matter.
If we have 300 email pending to send, with 5 minute cron, it takes 5 hour to send all emails.

Is there any option for instantly send emails by php handler without run any cronjob?
ali
·
Tuesday, 28 March 2017 19:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Is there any option for instantly send emails by php handler without run any cronjob?

Currently we do not have an option to allow to send immediately for those pending email at this point of time, because we not encourage this is because it will affect your site performance issue.

For now you have to manually modify that file and set 50, so every 5 minute when your cronjob is run, it will process 50 pending emails.

And I will discuss with our developer whether we can add an option from backend so admin can set how many email send out per cron run in the future version.
·
Tuesday, 28 March 2017 22:33
·
0 Likes
·
0 Votes
·
0 Comments
·
YES. i understand you choosed cronjob to avoid heavy impact on Site Performance.

but it should be an option for users to choose between cronjob and instant PHP mail sending.

we have an eCommerce website, some times commenting are going to be as conversation. it will be a painful conversation with 5 minute lag.

when considering number of problems with email sending, cronjobs & notifications in this forum, we realize that there is something wrong with developing this part.

i hope you fix this problem as soon as possible
ali
·
Wednesday, 29 March 2017 03:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ali,

Thanks for the input
we have an eCommerce website, some times commenting are going to be as conversation. it will be a painful conversation with 5 minute lag.

-> It could be best if you set the cron to run every minute.
·
Wednesday, 29 March 2017 15:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok.
ali
·
Wednesday, 29 March 2017 20:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ali,

I understand that there is a need to process mails when a user accesses the site but I highly do not recommend this. Why? Even if there is only 1 e-mail to be sent and there are connectivity issues between your mail server and the target mail server, you will experience immense delay on the page rendering.

To make matters even worst, if the script takes too long to process your e-mails, php will time out. Do you really want to take such a risk?
·
Wednesday, 29 March 2017 22:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post