Ability to set the next run schedule of the DVCS repositories sync

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: DVCS Connector
    • 2

      Problem

      In the documentation on How to change the interval or schedule of the DVCS repositories sync, explains how to set the interval. To do so, add an argument to the JVM arguments on startup to set the dvcs.connector.scheduler.interval property in milliseconds.
      For example, if we wish to run the scheduled sync daily:
      -Ddvcs.connector.scheduler.interval=86400000

      Suggested Solution

      Add an argument to the JVM arguments on startup<https://confluence.atlassian.com/adminjiraserver/setting-properties-and-options-on-startup-938847831.html> to set the dvcs.connector.scheduler.nextrun property in milliseconds.
      For example, if we wish to run the scheduled sync daily:
      -Ddvcs.connector.scheduler.nextrun = xxxxxx

      Why This Is Important

      The next run is changed every restart of the Jira server.

      Since the business requires the restarts to always be at night, this is an issue that the restart changes the next run to time as it depends on the restart time.

      Workaround

      The only workaround provided is to change the next run directly in the database every time after Jira restarts.

            Assignee:
            Unassigned
            Reporter:
            Franklin Ayres (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: