CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • civimail.cron.php + Mailer Spool Period not playing nicely
Pages: [1]

Author Topic: civimail.cron.php + Mailer Spool Period not playing nicely  (Read 912 times)

rulitz

  • Guest
civimail.cron.php + Mailer Spool Period not playing nicely
October 28, 2010, 11:08:54 pm
I have setup my civimail.cron.php as per the manual to trigger every 5 minutes.  I also setup my Mailer Spool Period in the Mailer Settings for 7200 seconds(2hours) and the Mailer Batch Limit to 350, as the host I am sending my mail through only allows 400 emails per hour.

When I send a scheduled mailing that is over 350 users, the job gets executed on the next cronjob, pauses the batch after 350 emails, but then instead of waiting for 2 hours to continue the batch, it starts up again on the next cronjob...5 minutes later.  So I end up exceeding my mail hosts limit, and getting bounces for everything over their 400/hr limit.

Did I miss something in my setup?  Is there a way for civimail or civimail.cron.php to recognize that a batch is in progress and not trigger it to send before its time?

I have searched the forum on this, and have seen others ask similar and even same questions, however I have not seen a solution yet.  Sorry if I missed it somewhere.  If you can point me to the link Id be grateful.

Thanks.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: civimail.cron.php + Mailer Spool Period not playing nicely
October 29, 2010, 08:07:44 am

ignore the mailer spool period (this was never used, and has been removed in 3.3)

basically your settings indicate to send 350 emails every 5 mins (cron job entry). so u'll need to modify one of the 2 variables

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rulitz

  • Guest
Re: civimail.cron.php + Mailer Spool Period not playing nicely
October 29, 2010, 01:19:41 pm
Thats too bad.  It seemed like such a good idea, especially under the circumstances of the host limiting the number of mails sent per hour.

I guess I will adjust the cronjob to run hourly and live with the potential of waiting for an hour when sending immediately.

Thank you for your response, I appreciate it.

shawn

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: civimail.cron.php + Mailer Spool Period not playing nicely
October 29, 2010, 01:28:48 pm
Hi,

Alternatively, may I suggest to move to a more serious hosting provider, or use civismtp ?

My experience before I moved to servers we manage is that the time lost on cheap hosting is not worthwhile the few money you gain.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • civimail.cron.php + Mailer Spool Period not playing nicely

This forum was archived on 2017-11-26.