Updt all.bat: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Updt_all.bat''' is a program that is used to rolls out updates and changes from Master [[CCMDB]] on the [[Regional Server]] to all CCMDB's that each PDA synch's into.
{{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\}}
to the location based folders on the:
*{{Regionalserver|Programs}}<br>


*also see [[CCMDB.mdb Change Log]] for changes before in 2008. See [[CCMDB.mdb Change Log 2009], for any changes or updated listed that have been rolled out to PDA's for 2009.
== 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.


==Created by==
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.  
Tina.


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 ==
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.


[[User:TOstryzniuk|TOstryzniuk]] 23:15, 29 December 2008 (CST)
== 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: {{Regionalserver|Programs\Master\log.txt}}
 
== Log ==
* 2020-06-25 - stopped log from opening after completion, since the newest are added at the end, seeing the log doesn't help with anything
* 2019-10-02 - updated copy to copy /y to automatically overwrite files that have not been picked up yet; can't believe this never cropped up until now as a problem.
* 2019-09-18 - changed CCMDB.mdb to CCMDB.accdb
 
== Related articles ==
*See CCMDB.accdb Change [[Log]] for changes that were rolled out using this file.
 
{{Related Articles}}


{{stub}}
[[Category:IT_Instructions]]
[[Category:IT_Instructions]]
[[Category:Batch Files]]
[[Category:Laptop identifier]]

Latest revision as of 16:05, 2023 September 27

Regional Server\Programs\Master\Updt_all.bat (full address: \\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\ (full address: \\ad.wrha.mb.ca\WRHA\REGION\SHARED\ICU_DATA_COLLECTION\Programs\Master\)

to the location based folders on the:

  • Regional Server\Programs (full address: \\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 (full address: \\ad.wrha.mb.ca\WRHA\REGION\SHARED\ICU_DATA_COLLECTION\Programs\Master\log.txt)

Log

  • 2020-06-25 - stopped log from opening after completion, since the newest are added at the end, seeing the log doesn't help with anything
  • 2019-10-02 - updated copy to copy /y to automatically overwrite files that have not been picked up yet; can't believe this never cropped up until now as a problem.
  • 2019-09-18 - changed CCMDB.mdb to CCMDB.accdb

Related articles

  • See CCMDB.accdb Change Log for changes that were rolled out using this file.


Related articles: