Article ID: 112363, created on Sep 22, 2011, last review on May 1, 2014

  • Applies to:
  • Business Automation 5.1
  • Business Automation 5.0


It is necessary to synchronize multiple PBA-E stores in a batch. Such necessity may occur in order to reapply new settings or due to other reasons.


1. Use the following command in order to synchronize all stores, registered in PBA-E:# SSMROOT=~bm; ssm -D start ascript /usr/local/bm/scripts/syncall.asc
2. Use following command to synchronize selected stores, which ids are listed in the file stores.txt:# cat stores.txt | while read line; do echo "Syncing store "$line; SSMROOT=~bm; ssm -D start ascript /usr/local/bm/scripts/sync_store.asc $line; echo "Done"; done
File stores.txt is supposed to contain id of the stores to synchronize as in the following example:# cat stores.txt

dc47a2d05ec4d64fb099e4dab79ce579 198398b282069eaf2d94a6af87dcb3ff d863a37023d0fbc15b909ef836e29214 92711db0799e8aefe8e51f12dace0496 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF