By Simon Zagorski-Thomas on Friday, 03 May 2013
Posted in General Issues
Likes 0
Views 1K
Votes 0
Hi
I'm trying to set up email notification on Komento and I think I'm just creating the wrong command line. My host doesn't support wget and they suggested curl but I'm not really sue what I'm doing. This is what I've got running every five minutes in the cronjob:
curl --user-agent local -O /dev/null "mysite/index.php?option=com_komento&task=cron"

and this is what I get back:
curl: (3) <url> malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 29 0 29 0 0 89 0 --:--:-- --:--:-- --:--:-- 89
0 29 0 29 0 0 86 0 --:--:-- --:--:-- --:--:-- 0
Email batch process finished.

I guess the malformed message is telling me I'm doing it wrong! I think the dev/null message in incorrect as well as I'm still getting the messages.
Hey, I'm getting the same. I have tried your suggestion:

curl -O "yoursite/index.php?option=com_komento&task=cron"


Every 5 minutes I get this. Instead of the new comment notification:


% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 29 0 29 0 0 10 0 --:--:-- 0:00:02 --:--:-- 11
·
Friday, 17 July 2015 08:03
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, I get it now. This is the cron report every 5 minutes. I've disabled it being sent to me. But I still get no 'new comment' notification email.
·
Friday, 17 July 2015 08:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Damian,

This thread was actually for Komento. Are you using Komento or are you using EasyBlog's built in comments? Either way, is it possible that you start a new thread on our forums and we'll assist you in looking into this?
·
Friday, 17 July 2015 15:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, yes i'm using komento.

Turns out all i needed to do was add 'www.' to the URL in the cron job.
·
Saturday, 18 July 2015 07:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Damian,

Ah, I see. Thanks for updating and glad that your issues are resolved now
·
Saturday, 18 July 2015 15:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post