2018-03-15 04:13:08 +07:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Author Carlos Ruiz
|
2020-09-09 00:37:00 +07:00
|
|
|
if [ "$IDEMPIERE_HOME" ]; then
|
|
|
|
cd "$IDEMPIERE_HOME"/utils || (echo "Cannot change to $IDEMPIERE_HOME/utils"; exit 1)
|
2018-03-15 04:13:08 +07:00
|
|
|
fi
|
2020-09-09 00:37:00 +07:00
|
|
|
export ID_ENV=Server
|
|
|
|
. ./myEnvironment.sh
|
|
|
|
echo Synchronize iDempiere Database - "$IDEMPIERE_HOME" \("$ADEMPIERE_DB_NAME"\)
|
2018-03-15 04:13:08 +07:00
|
|
|
|
2020-09-09 00:37:00 +07:00
|
|
|
sh "$ADEMPIERE_DB_PATH"/SyncDB.sh "$ADEMPIERE_DB_USER" "$ADEMPIERE_DB_PASSWORD" "$ADEMPIERE_DB_PATH" $*
|