From abd4355af38fc24cc46868d7645000ffdaf45fe1 Mon Sep 17 00:00:00 2001 From: ligang Date: Wed, 17 Apr 2019 20:13:28 +0800 Subject: [PATCH 1/2] update sql **/*.* to **/* --- package.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.xml b/package.xml index d127415050..edba812b9a 100644 --- a/package.xml +++ b/package.xml @@ -37,7 +37,7 @@ sql - **/*.* + **/* ./sql From 94f10977a86bd762ed5587ee5c428d662019247a Mon Sep 17 00:00:00 2001 From: ligang Date: Wed, 17 Apr 2019 20:14:42 +0800 Subject: [PATCH 2/2] add upgrade and create script --- script/create_escheduler.sh | 6 ++++++ script/upgrade_escheduler.sh | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 script/create_escheduler.sh create mode 100644 script/upgrade_escheduler.sh diff --git a/script/create_escheduler.sh b/script/create_escheduler.sh new file mode 100644 index 0000000000..dea3b07858 --- /dev/null +++ b/script/create_escheduler.sh @@ -0,0 +1,6 @@ +#!/bin/bash +workDir=`dirname $0` +workDir=`cd ${workDir};pwd` +echo "$workDir/lib" + +java -Xmx1G -cp "$workDir/../lib/*" cn.escheduler.dao.upgrade.shell.CreateEscheduler diff --git a/script/upgrade_escheduler.sh b/script/upgrade_escheduler.sh new file mode 100644 index 0000000000..343dc5f1db --- /dev/null +++ b/script/upgrade_escheduler.sh @@ -0,0 +1,6 @@ +#!/bin/bash +workDir=`dirname $0` +workDir=`cd ${workDir};pwd` +echo "$workDir/lib" + +java -Xmx1G -cp "$workDir/../lib/*" cn.escheduler.dao.upgrade.shell.UpgradeEscheduler