|
|
Line 6: |
Line 6: |
| '''echo "Problems updating SALES!" | | '''echo "Problems updating SALES!" |
| ''') | | ''') |
− | '''call tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan.Sadig\Documents\TaticView\Import Files\hr.xlsx" -datamart 673 -wait | + | '''call tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan.Sadig\Documents\TaticView\Import Files\rh.xlsx" -datamart 673 -wait |
| '''if %errorlevel% == 0 ( | | '''if %errorlevel% == 0 ( |
− | '''echo "HR updated successfully!" | + | '''echo "RH updated successfully!" |
| ''') else ( | | ''') else ( |
− | '''echo "Problems updating HR!" | + | '''echo "Problems updating RH!" |
| ''')''' | | ''')''' |
Revision as of 04:15, 8 March 2018
@ECHO OFF
call tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan.SADIG\Documents\TaticView\Import Files\sales.xlsx" -datamart 674 -wait
if %errorlevel% == 0 (
echo "SALES updated successfully!"
) else (
echo "Problems updating SALES!"
)
call tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan.Sadig\Documents\TaticView\Import Files\rh.xlsx" -datamart 673 -wait
if %errorlevel% == 0 (
echo "RH updated successfully!"
) else (
echo "Problems updating RH!"
)