|
|
| Line 1: |
Line 1: |
| | '''@ECHO OFF''' | | '''@ECHO OFF''' |
| − | '''call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Usuários\jonathan\Documentos\TaticView\Arquivos Importacao\Vendas.xlsx" -datamart 674 -wait | + | '''call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\TaticView\Arquivos Importacao\Vendas.xlsx" -datamart 674 -wait |
| | '''if %errorlevel% == 0 ( | | '''if %errorlevel% == 0 ( |
| | '''echo VENDAS atualizado com sucesso! | | '''echo VENDAS atualizado com sucesso! |
| Line 6: |
Line 6: |
| | '''echo Problemas na atualizacao do VENDAS! | | '''echo Problemas na atualizacao do VENDAS! |
| | ''') | | ''') |
| − | '''call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\Usuários\jonathan\Documentos\TaticView\Arquivos Importacao\rh.xlsx" -datamart 673 -wait | + | '''call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\TaticView\Arquivos Importacao\rh.xlsx" -datamart 673 -wait |
| | '''if %errorlevel% == 0 ( | | '''if %errorlevel% == 0 ( |
| | '''echo RH atualizado com sucesso! | | '''echo RH atualizado com sucesso! |
| | ''') else ( | | ''') else ( |
| − | '''echo Problemas na atualizacao do RH! | + | '''echo Problemas na atualização do RH! |
| | ''')''' | | ''')''' |
Latest revision as of 19:46, 16 July 2021
@ECHO OFF
call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\TaticView\Arquivos Importacao\Vendas.xlsx" -datamart 674 -wait
if %errorlevel% == 0 (
echo VENDAS atualizado com sucesso!
) else (
echo Problemas na atualizacao do VENDAS!
)
call C:\TaticView\tvcli -cmd import_file -user jonathan@sadig.com -file "C:\TaticView\Arquivos Importacao\rh.xlsx" -datamart 673 -wait
if %errorlevel% == 0 (
echo RH atualizado com sucesso!
) else (
echo Problemas na atualização do RH!
)