No replies
Eidolon Night's picture
Offline
Joined: 12/03/2008
Juice: 51
Was this information Helpful?

I'm currently testing UC recurring+roles+CIM and having an issue with the time that credit cards are charged. I'm running cron hourly and each day the credit card is charged an hour later than the day before. This is happening because cron is scheduled to run 50 minutes after the hour (in our case). So at 4:50 we charge the card and renew the roles, but these action don't actually take place until 4:50:03 (hypothetical). So, at 4:50 the next UC sees that the card isn't due to be charged yet, and the card is not recharged until 5:50 when cron runs again.

Has this been brought up before? It seems to be an issue. I could always run cron more frequently, but that seems more like a band-aid than a solution. The correct thing to do (my opinion) would be to set the expiration time to one minute before cron is scheduled to run. That would eliminate this infinite time shift.

P.S. I've posted this in support, not bugs, because I'm not sure if this is by design.