[
https://issues.apache.org/jira/browse/OFBIZ-9414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053245#comment-16053245 ]
Jacques Le Roux commented on OFBIZ-9414:
----------------------------------------
Done at revision: 1799100
> Adds 30 sec sleep after "ofbizBackground --shutdown" to allow time for OFBiz to stop
> ------------------------------------------------------------------------------------
>
> Key: OFBIZ-9414
> URL:
https://issues.apache.org/jira/browse/OFBIZ-9414> Project: OFBiz
> Issue Type: Improvement
> Components: Demo
> Affects Versions: Trunk
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Minor
>
> For a moment, I was wondering why
> bq. ./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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)