Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-1062

CiviMember - Command-line Script Which Updates Membership Statuses

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      Create a PHP script which can be run from the command line. Script task is to check and update the status of all membership records for a given domain using the calc_membership_status and update_contact_membership APIs. (CiviMember enabled sites will set up a cron job to run this script on a daily basis - and hence keep the membership statuses updated.)

      Input param is:
      -domain : which domain to check/update memberships for. If this param not defined, default to domain_id = 1.

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: