By Stu on Thursday, 10 April 2014
Posted in General Issues
Replies 12
Likes 0
Views 597
Votes 0
Hi, since updating to 1.2.6 (I think) no emails have been sent. This has only been an issue for about 6 days, before it worked perfectly.

My cron is set as:

wget -q -O /dev/null "http://www.mydomain.com/index.php?option=com_easyblog&task=cron";

If you need site details they are on this post:

http://stackideas.com/forums/side-links-javascript-not-workking
That must have been it, it's working now.

Thanks for all your help.
Stu
·
Friday, 11 April 2014 04:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Stu,

Did you mean the EasySocial email notification no longer work after you updated right?

May i know are you configure this cron command from your cronjob?
wget -q -O /dev/null "http://www.mydomain.com/index.php?option=com_easyblog&task=cron"


If I'm not wrong you should be put this sample cron command :
wget -q -O /dev/null "http://www.mydomain.com/index.php?option=com_easysocial&task=cron"


Also, is it possible provide us with your Cpanel access so we can help you check on this ? Please advise.
·
Thursday, 10 April 2014 22:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Stu,

Also, can you please check the mail activities and see if those emails are already marked as sent?
·
Thursday, 10 April 2014 22:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, I cut and paste the wrong cron, this is what I have for Easy Social:

wget -q -O /dev/null "http://www.mydomain.com/index.php?option=com_easysocial&cron=true";

I have added a URL for a private screen shot below.
Stu
·
Thursday, 10 April 2014 22:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Stu,

I can't really tell what is wrong but I am suspecting that the "wget" path might need the absolute path. You can get it from your hosting company.
·
Thursday, 10 April 2014 23:23
·
0 Likes
·
0 Votes
·
0 Comments
·
I'll go to them now, it's strange that is has stopped working as I went through this with them when I originally set it up.

I'll report back, thanks for your help.
Stu
·
Thursday, 10 April 2014 23:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Stu,

Sure, let me know how this goes but whenever the cron executes, you would be able to receive the notification and within that notification email, it'll tell you if there are any errors.
·
Thursday, 10 April 2014 23:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

According to my host I only get notifications if the cron fails. They have confirmed the cron is working fine, they sent this:

Apr 10 16:00:01 navigator crond[828183]: (pmadmin) CMD (wget -q -O /dev/null "http://www.mydomain.com/index.php?option=com_easysocial&cron=true"
Apr 10 16:05:01 navigator crond[840335]: (pmadmin) CMD (wget -q -O /dev/null "http://www.mydomain.com/index.php?option=com_easysocial&cron=true"
Apr 10 16:10:01 navigator crond[849922]: (pmadmin) CMD (wget -q -O /dev/null "http://www.mydomain.com/index.php?option=com_easysocial&cron=true"
Apr 10 16:15:01 navigator crond[861086]: (pmadmin) CMD (wget -q -O /dev/null "http://www.mydomain.com/index.php?option=com_easysocial&cron=true"

They are investigating the email set up but it is strange it just stopped, I can't say for sure it was when 1.2.6 was installed but it's around that time.
Stu
·
Thursday, 10 April 2014 23:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Stu,

What if you access the URL http://www.mydomain.com/index.php?option=com_easysocial&cron=true manually via the browser?
·
Friday, 11 April 2014 01:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I end up on mydomain,com/community.html?cron=true which is actually my discussions page.

I must have some conflict somewhere with the alias community as discussions should be discussions!

Back to the cron issue though, apart from upgrading to 1.2.6 I implemented CDN at about the same time, could that be affecting it?
Stu
·
Friday, 11 April 2014 03:34
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, I fixed the SEO issue, I had moved the menu item for discussions and forget to reset the menu ID in SEO settings.

When I manually call the cron I get this:

[{"status":"200","contents":"There is nothing to dispatch currently.","time":"2014-04-10 20:09:57"},{"status":"200","contents":"Current photos storage is set to local.","time":"2014-04-10 20:09:57"},{"status":"200","contents":"Current avatar storage is set to local.","time":"2014-04-10 20:09:57"},{"status":"200","contents":"No files to upload to Amazon S3 right now.","time":"2014-04-10 20:09:57"}]
Stu
·
Friday, 11 April 2014 04:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Stu, and I am glad that your issues are all sorted out now
·
Friday, 11 April 2014 11:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post