2019-01-05 06:46:51 +07:00
|
|
|
#!/bin/bash
|
2018-12-16 08:47:17 +07:00
|
|
|
|
|
|
|
# Author Carlos Ruiz
|
2020-09-09 00:37:00 +07:00
|
|
|
if [ "$IDEMPIERE_HOME" ]; then
|
|
|
|
cd "$IDEMPIERE_HOME"/utils || (echo "Cannot cd $IDEMPIERE_HOME/utils"; exit 1)
|
2018-12-16 08:47:17 +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-12-16 08:47:17 +07:00
|
|
|
|
2020-09-09 00:37:00 +07:00
|
|
|
bash "$ADEMPIERE_DB_PATH"/MonitoredSyncDB.sh "$ADEMPIERE_DB_USER" "$ADEMPIERE_DB_PASSWORD" "$ADEMPIERE_DB_PATH" $*
|