import member to membership pro

Hi there!

I want to know what controls exist to end the membership (status = expired).
There seems to be a cronjob for check_membership_status in-class ms-model-relationship.php.

We have imported our member-with $api->add_subscription($user_id, $membership)

and then changed the strat_date-and expire dates, and commissioning the membeship of 'active'

The cronjob still making contacts and move them expired