|
|
Line 1: |
Line 1: |
− | '''@ECHO OFF'''
| + | '''@ECHO OFF''' |
| '''call tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan.SADIG\Documents\TaticView\Arquivos Importacao\vendas.xlsx" -datamart 674 -wait | | '''call tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan.SADIG\Documents\TaticView\Arquivos Importacao\vendas.xlsx" -datamart 674 -wait |
| '''if %errorlevel% == 0 ( | | '''if %errorlevel% == 0 ( |
Revision as of 17:56, 31 July 2017
@ECHO OFF
call tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan.SADIG\Documents\TaticView\Arquivos Importacao\vendas.xlsx" -datamart 674 -wait
if %errorlevel% == 0 (
echo "VENDAS atualizado com sucesso!"
) else (
echo "Problemas na atualizacao do VENDAS!"
)
call tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Users\jonathan.Sadig\Documents\TaticView\Arquivos Importacao\rh.xlsx" -datamart 673 -wait
if %errorlevel% == 0 (
echo "RH atualizado com sucesso!"
) else (
echo "Problemas na atualizacao do RH!"
)