1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Events not closing on time

Discussion in 'Sportsbook Support' started by rambro, Aug 4, 2013.

  1. rambro

    rambro New Member Sportsbook

    This is a recent thing since the upgrade to 1.2, but the events aren't closing when they're supposed to and the members are having to go in and close them. Thoughts?

    As a side note, I'm also having problems with some other cron activities. I have no idea if they're interrelated.
     
  2. rambro

    rambro New Member Sportsbook

    CapturFiles.png
     
  3. Bob

    Bob Developer Staff Member

    I've changed some functionality in the next version of sportsbook that solves any issues with CRON/DEFERRED. Each time an event is accessed, it verifies the event status and will change it if necessary before rendering.
     
  4. rambro

    rambro New Member Sportsbook

    Neat. Before I started looking into this I wasn't aware it ran on a schedule. I thought that when the time struck the system automatically closed it.
     
  5. Bob

    Bob Developer Staff Member

    Im still going to keep the CRONs in there, but I've added in a verifyEventStatus method in the event model (called in the prepareEvent method) for checking open and closed events and setting them to awaiting_settlement and open respectively.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.