Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8149 CiviCRM ARMS Project
  3. CRM-8152

Create cron job to send "triggered emails" on an hourly basis

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.3
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Implement a cron job that is driven by the schema as specified in: CRM-8150

      I would split this into the following tasks:

      • Design the database tables you need to keep track of what has been done so far
      • Implement the cron job and ignore repetition but keep track that the email was sent and when
      • Incorporate repetition into the cron job process
      • For now the unit of time is restricted to days and hours only
      • Add hooks at various stages of this workflow, so the process can be overriden / enhanced etc

      Would be good to think about these issues also:

      • Can we make it an option to use CiviMail vs sending email one at a time
      • Can we make it generic enough to handle the "non-activity" related use cases of the schema

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lobo Donald A. Lobo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days, 6 hours Original Estimate - 3 days, 6 hours
                3d 6h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 1 day, 5 hours, 43 minutes
                1w 1d 5h 43m