• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    How to stop event temporally?

    Mango Automation general Discussion
    3
    5
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pine
      last edited by

      Hello,

      I am wondering whether there is a way to stop all events logging for a period of time? Thank you very much!

      Pine

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        To the best of my knowledge, there is no way to configure such a behavior in the officially supported Mango through the UI. This means the quality of the feature would be connected to how much effort you wanted to put into coding it, but a simple hardcoded solution can be achieved by compiling the core with a modified EventManager. If you modify the 'raiseEvent' method at line 89 of com.serotonin.m2m2.rt.EventManager.java to include something like ```
        && time % 1000606024 < 1000606012

        
        Also, I apologize, but I haven't explored possible time zone or server time issues that could arise trying the above method, though I suspect those are handled elsewhere for you already.
        1 Reply Last reply Reply Quote 0
        • M
          mlohbihler
          last edited by

          Check out maintenance events.

          Best regards,
          Matthew

          1 Reply Last reply Reply Quote 0
          • P
            Pine
            last edited by

            The "System Settings - Other settings - Purge events older than" option works for my purpose. Thank you!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post