Copy PHI.bat: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
TOstryzniuk (talk | contribs)
m Main office - when X drive goes down - affect on this scheduled task on Trish's desktop
m uncat
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
X:\CCMDB\PHI\copy_PHI.bat
The file X:\CCMDB\PHI\copy_PHI.bat is part of the [[PHI copy automation]]. It mostly runs on the [[Data Processor PC]].


as of 15:21, 2013 July 2 (CDT):  
This file is affected '''[[PHI_copy_automation#If_X_drive_goes_down|if the X: drive goes down]]'''.


== current file ==
as of 14:12, 2018 February 28 (CST)
<pre>
echo moving contents from  Regional Server\Output\_PHI to  X:\CCMDB\PHI\
echo moving contents from  Regional Server\Output\_PHI to  X:\CCMDB\PHI\
echo usually triggered by scheduled task running on Trish's computer hourly
echo usually triggered by scheduled task running hourly on Scanner computer in JJ387
echo see http://ccmdb.kuality.ca/index.php/PHI_copy_automation and http://ccmdb.kuality.ca/index.php/Copy_PHI.bat for details
echo see http://ccmdb.kuality.ca/index.php/PHI_copy_automation for details


move \\Ad.wrha.mb.ca\wrha\REGIONWRHA\SHARED\ICU_DATA_COLLECTION\Output\_PHI\* X:\CCMDB\PHI
move \\Ad.wrha.mb.ca\wrha\REGION\SHARED\ICU_DATA_COLLECTION\Output\_PHI\* X:\CCMDB\PHI
 
==If X drive goes down==
If main office notices that X drives is down, Data processor must not remove the csv files from the Regional server until:
*Trish computer is rebooted and network connection to X is restablished. Otherwise this bat files is not able to do its job. 


cscript "X:\CCMDB\PHI\Load Data.vbs"
</pre>


[[Category: Batch Files]]
[[Category: Batch Files]]
[[Category:2013 data upgrades]]
[[Category: Data Processor PC]]

Latest revision as of 16:45, 19 September 2018

The file X:\CCMDB\PHI\copy_PHI.bat is part of the PHI copy automation. It mostly runs on the Data Processor PC.

This file is affected if the X: drive goes down.

current file

as of 14:12, 2018 February 28 (CST)

echo moving contents from  Regional Server\Output\_PHI to  X:\CCMDB\PHI\
echo usually triggered by scheduled task running hourly on Scanner computer in JJ387
echo see http://ccmdb.kuality.ca/index.php/PHI_copy_automation for details

move \\Ad.wrha.mb.ca\wrha\REGION\SHARED\ICU_DATA_COLLECTION\Output\_PHI\* X:\CCMDB\PHI

cscript "X:\CCMDB\PHI\Load Data.vbs"