×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Can't receive notification after comment

Can't receive notification after comment 10 years 10 months ago #25079

  • ALAMI
  • ALAMI's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 26
  • Thank you received: 0
Hello daniel,

Regarding notifications after comments, even if i selected the case to be notified, in case of someone respond to my subject.

i don't receive notification each time, i mean i receive the email for notification only 1 time even if i respond 10 times to the comment with different users.

From where you think the problem comes ?
Thanks

Can't receive notification after comment 10 years 10 months ago #25080

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Notification are no longer sent after a comment is saved, but either on page load or if you have configured the cronjob, once the cronjob is run.
So how are you working on the notification queue? With page load or with cronjob? The recommended way is a cronjob. Go to the global settings for the componetn -> ccomment -> settings -> in the menu you have options. Click on it and then navigate to the mail queue -> there you have the url for the cronjob.
Regards,
Daniel

Can't receive notification after comment 10 years 10 months ago #25081

  • ALAMI
  • ALAMI's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 26
  • Thank you received: 0
Hello,

please see attached snapshot of my mail queue.

Should i disable Send mail on page load ?

How can i use cron job automatically ? should i each time click on the link of cron job to send mail ?

Thanks
Attachments:

Can't receive notification after comment 10 years 10 months ago #25087

  • ALAMI
  • ALAMI's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 26
  • Thank you received: 0
sorry but i can't find where to activate automatically cron job and how to modify 10 as you said in your documentation. or how to activate cron every 5min.

Thanks

Can't receive notification after comment 10 years 10 months ago #25100

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
What is a cronjob:

The software utility cron is a time-based job scheduler in Unix-like computer operating systems. People who set up and maintain software environments use cron to schedule jobs to run periodically at fixed times, dates, or intervals. ...


Does your hosting provider give you access to CPanel or any other hosting management tool? If you have CPanel -> you need to go to the cron jobs section and setup the cronjob.

Then in the field for the cronjob you need to type:
/bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_comment&task=queue.cron&format=raw&total=10"

You need to aks your hosting provider what the path to wget is. Wget is a computer program that retrieves content from web server/ basically a browser for the console.
For example on a siteground server as far as I can see the path to wget is /usr/bin/wget

if you want to send 100 emails when the cron is run just change total=10 to total=100

Cheers,
Daniel

Can't receive notification after comment 10 years 10 months ago #25101

  • ALAMI
  • ALAMI's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 26
  • Thank you received: 0
i still don't fully understand
from what you have seen in attached picture in previous mail, is Cron activated or not ? or should i setup /bin/wget -O /dev/null " yoursite.com/index.php?option=com_commen...&format=raw&total=10 " to activate it ?
In my hosting provider we can access to cron via ssh with putty, but i don't know how to set up the cron.
Is cronjob automatically set to run each 5 minutes , where can i modify the frequence.
Thanks

Can't receive notification after comment 10 years 9 months ago #25428

  • Ophelia
  • Ophelia's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
If you don't know how to setup cron job , a third party webcron may be a good option for you. Check out a tutorial at www.easycron.com/tutorials/how-to-set-up...for-compojoomcomment

Can't receive notification after comment 10 years 7 months ago #25882

  • dayton
  • dayton's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Thank you for the link you've shared.
It would help this tutorial on how to setup cron job.
Thank you... :)
  • Page:
  • 1
Time to create page: 0.156 seconds