Updt all.bat: Difference between revisions
Ttenbergen (talk | contribs) mNo edit summary |
Ttenbergen (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
{{Regionalserver|Programs\Master\Updt_all.bat}} is a program that is used to roll out updates and changes to the [[CCMDB. | {{Regionalserver|Programs\Master\Updt_all.bat}} is a program that is used to roll out updates and changes to the [[CCMDB.accdb]] program files from: | ||
*{{Regionalserver|Programs\Master\}} | *{{Regionalserver|Programs\Master\}} | ||
to the location based folders on the: | to the location based folders on the: | ||
| Line 9: | Line 9: | ||
A command window will display which directory/location is currently being processed. | A command window will display which directory/location is currently being processed. | ||
Updt_all.bat will check if a | Updt_all.bat will check if a CCMDB.accdb file on the server is currently open, i.e. has a corresponding ccmdb.ldb file. '''If a ccmdb.ldb is present the location will not be updated. ''' Otherwise Updt_all.bat will copy the CCMDB.accdb from the "master" directory to the location directory currently being processed. | ||
When processing is done, the [[updt_all.bat#log | log]] is displayed. Go to the end of the file to see results of the most roll-out. | When processing is done, the [[updt_all.bat#log | log]] is displayed. Go to the end of the file to see results of the most roll-out. | ||
== Inner Workings == | == Inner Workings == | ||
Updt_all.bat uses a for loop to cycle through a collection of locations (set [[Locs.bat]]) to | Updt_all.bat uses a for loop to cycle through a collection of locations (set [[Locs.bat]]) and copies [[CCMDB.accdb]] from Master to that location. | ||
== Log File == | == Log File == | ||
Revision as of 11:10, 22 September 2019
Regional Server\Programs\Master\Updt_all.bat\\ad.wrha.mb.ca\WRHA\REGION\SHARED\ICU_DATA_COLLECTION\Programs\Master\Updt_all.bat is a program that is used to roll out updates and changes to the CCMDB.accdb program files from:
- Regional Server\Programs\Master\\\ad.wrha.mb.ca\WRHA\REGION\SHARED\ICU_DATA_COLLECTION\Programs\Master\
to the location based folders on the:
- Regional Server\Programs\\ad.wrha.mb.ca\WRHA\REGION\SHARED\ICU_DATA_COLLECTION\Programs
Instructions
To roll out a set of changes using updt_all.bat you should be able to just double-click on the file on the server. (used to have to copy to local, but I think it works from server now)
A command window will display which directory/location is currently being processed.
Updt_all.bat will check if a CCMDB.accdb file on the server is currently open, i.e. has a corresponding ccmdb.ldb file. If a ccmdb.ldb is present the location will not be updated. Otherwise Updt_all.bat will copy the CCMDB.accdb from the "master" directory to the location directory currently being processed.
When processing is done, the log is displayed. Go to the end of the file to see results of the most roll-out.
Inner Workings
Updt_all.bat uses a for loop to cycle through a collection of locations (set Locs.bat) and copies CCMDB.accdb from Master to that location.
Log File
- the log file includes a date, time and which CCMDB.mdb's have been updated successfully & those that were not updated because file is open and in use.
- Log File location: Regional Server\Programs\Master\log.txt\\ad.wrha.mb.ca\WRHA\REGION\SHARED\ICU_DATA_COLLECTION\Programs\Master\log.txt
Log
- 2019-09-18 - changed CCMDB.mdb to CCMDB.accdb
Related articles
- See CCMDB.mdb Change Log for changes that were rolled out using this file.
| Related articles: |