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 CiviMember (Moderator: Deepak Srivastava) »
  • UpdateMembershipRecord cron not updating
Pages: [1]

Author Topic: UpdateMembershipRecord cron not updating  (Read 1159 times)

bgthom

  • Guest
UpdateMembershipRecord cron not updating
February 16, 2010, 10:20:49 pm
Hi,
I wanted to give our users a 6-month Grace period and to update our Expired members accordingly. I've run the UpdateMembershipRecord.php cron job following the instructions at http://wiki.civicrm.org/confluence/display/CRMDOC/Membership+Types. I ran it in my browser, as I'm a rookie with the command line.

The script ran and printed " Membership records updated. (Done)." But when I check a member who expired 5 months ago, they still show as Expired. Am I missing something?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: UpdateMembershipRecord cron not updating
February 17, 2010, 12:05:27 am
I don't think it will update 'backwards'. I think it will update current to grace to expired based on your rules but I don't think you can use that job as a way to change expired to grace based on new rules
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

bgthom

  • Guest
Re: UpdateMembershipRecord cron not updating
February 17, 2010, 01:07:02 am
Ok, thanks, Eileen. So, if I have a large number of records, is my best option a SQL query changing members between a certain date range from 'Expired' to 'Grace'?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: UpdateMembershipRecord cron not updating
February 17, 2010, 01:37:11 am
Yeah - I think so
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

bgthom

  • Guest
Re: UpdateMembershipRecord cron not updating
February 17, 2010, 02:24:05 am
Great, done. 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • UpdateMembershipRecord cron not updating

This forum was archived on 2017-11-26.