|
|
(4 intermediate revisions by the same user not shown) |
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 my@email.com -file "C:\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\hr.xlsx" -datamart 673 -wait | + | '''call C:\TaticView\tvcli -cmd import_file -user my@email.com -file "C:\TaticView\Import Files\hr.xlsx" -datamart 673 -wait |
| '''if %errorlevel% == 0 ( | | '''if %errorlevel% == 0 ( |
− | '''echo "HR updated successfully!" | + | '''echo HR updated successfully! |
| ''') else ( | | ''') else ( |
− | '''echo "Problems updating HR!" | + | '''echo Problems updating HR! |
| ''')''' | | ''')''' |
Latest revision as of 19:12, 16 July 2021
@ECHO OFF
call C:\TaticView\tvcli -cmd import_file -user my@email.com -file "C:\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 my@email.com -file "C:\TaticView\Import Files\hr.xlsx" -datamart 673 -wait
if %errorlevel% == 0 (
echo HR updated successfully!
) else (
echo Problems updating HR!
)