|
|
Line 1: |
Line 1: |
| '''@ECHO OFF''' | | '''@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 | + | '''call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan\Documents\TaticView\Import Files\sales.xlsx" -datamart 674 -wait |
| '''if %errorlevel% == 0 ( | | '''if %errorlevel% == 0 ( |
− | '''echo "SALES updated successfully!" | + | '''echo SALES updated successfully! |
| ''') else ( | | ''') else ( |
− | '''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\rh.xlsx" -datamart 673 -wait | + | '''call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan\Documents\TaticView\Import Files\rh.xlsx" -datamart 673 -wait |
| '''if %errorlevel% == 0 ( | | '''if %errorlevel% == 0 ( |
− | '''echo "RH updated successfully!" | + | '''echo RH updated successfully! |
| ''') else ( | | ''') else ( |
− | '''echo "Problems updating RH!" | + | '''echo Problems updating RH! |
| ''')''' | | ''')''' |
Revision as of 12:29, 16 October 2018
@ECHO OFF
call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan\Documents\TaticView\Import Files\sales.xlsx" -datamart 674 -wait
if %errorlevel% == 0 (
echo SALES updated successfully!
) else (
echo Problems updating SALES!
)
call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan\Documents\TaticView\Import Files\rh.xlsx" -datamart 673 -wait
if %errorlevel% == 0 (
echo RH updated successfully!
) else (
echo Problems updating RH!
)