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 »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Why do mailings have two "start" dates?
Pages: [1]

Author Topic: Why do mailings have two "start" dates?  (Read 760 times)

irvken

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 1
Why do mailings have two "start" dates?
December 10, 2012, 02:05:40 am
Why do mailings have two "start" dates?

mysql> SELECT DISTINCT civicrm_mailing.id AS id, civicrm_mailing.subject AS
civicrm_mailing_subject, civicrm_mailing_job.start_date AS
civicrm_mailing_job_start_date FROM civicrm_mailing civicrm_mailing LEFT JOIN
civicrm_mailing_job civicrm_mailing_job ON civicrm_mailing.id =
civicrm_mailing_job.mailing_id WHERE (( (civicrm_mailing.subject LIKE
'%Bulletin%' ESCAPE '\\') AND (civicrm_mailing_job.is_test = '0') )) ORDER BY
civicrm_mailing_job_start_date DESC LIMIT 10 OFFSET 0;

+------+--------------------------------------------------------------------------------------------------------------------+--------------------------------+

| id   | civicrm_mailing_subject                           
                                                   
           | civicrm_mailing_job_start_date |

+------+--------------------------------------------------------------------------------------------------------------------+--------------------------------+

| 5112 | Voscur VCS e-bulletin - 28 November 2012: All change at City Hall 
                                               |
2012-11-28 17:34:07            |

| 5112 | Voscur VCS e-bulletin - 28 November 2012: All change at City Hall 
                                               |
2012-11-28 17:34:03            |

| 4852 | Voscur VCS e-bulletin - 14 November 2012: One more day to spread the
word - Thursday is voting day!                | 2012-11-14 17:19:05
           |

| 4852 | Voscur VCS e-bulletin - 14 November 2012: One more day to spread the
word - Thursday is voting day!                | 2012-11-14 17:19:02
           |

| 4562 | Voscur VCS e-bulletin - 31 October 2012: Bristol's countdown to the
mayor and PCC elections, help spread the word! | 2012-10-31 16:49:11     
     |

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: Why do mailings have two "start" dates?
December 10, 2012, 09:15:55 am

there are two start dates:

1. When was the mailing scheduled to start (in civicrm_mailing)

2. When did the mailing actually start (in civicrm_mailing_job)

due to various reasons 1 and 2 will rarely be exactly the same, primarily since 2 is driven by a cron job and depends on how many other jobs are ahead of it, cron schedule etc

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Why do mailings have two "start" dates?

This forum was archived on 2017-11-26.