Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1144

PID file should not be overwritten if JobScheduler is started twice

    XMLWordPrintable

Details

    • Feature
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.6.4014
    • 1.10
    • Setup
    • None

    Description

      Starting Situation

      • When starting a JobScheduler instance while another instance is already running, then during the second start the PID file is overwritten. This means the PID file for the running JobScheduler instance is lost.

      Desired Behaviour

      • Implementation for Unix
        • Write PID file only if the JobScheduler has been started succesfully.
        • Check if a process exists with the PID from the latest PID file and deny starting JobScheduler if such a process exists.
      • Implementation for Windows
        • This feature will not be available for Windows due to the fact that a Windows service is used and that no manual JobScheduler start is expected.

      Attachments

        Activity

          People

            oh Oliver Haufe
            fs Florian Schreiber (Inactive)
            Oliver Haufe Oliver Haufe
            Andreas Püschel Andreas Püschel
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 2 hours Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - 2 hours Remaining Estimate - 2 hours
                2h