Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9414

Adds 30 sec sleep after "ofbizBackground --shutdown" to allow time for OFBiz to stop

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • None
    • Demo
    • None

    Description

      For a moment, I was wondering why

      ./gradlew "ofbizBackground --shutdown"

      did not work with demos

      While fixing trunk-manual.sh on the VM (forgot to change for loadAll) I then realized that it could be because you can't chain another Gradle task just after "ofbizBackground --shutdown".

      So I added a 30 sec sleep to trunk-manual-only.sh and it worked manually. I have now chained trunk-manual-only.sh in all-manual.sh (indirectly called by cron) and if it works tonight I will replace trunk-manual.sh content by trunk-manual-only.sh content and remove trunk-manual-only.sh

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            jleroux Jacques Le Roux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: