Criação do agendamento para execução da atualização do Flash de Vendas.

This commit is contained in:
2026-04-30 10:13:13 -03:00
parent b46a210a67
commit 27e2c95d8e
2 changed files with 26 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"permissions": {
"allow": [
"Bash(git checkout *)",
"Bash(git pull *)",
"Bash(git cherry-pick *)",
"Bash(git push *)"
]
}
}
+16
View File
@@ -198,4 +198,20 @@ order by grouping(canalapp) desc, grouping(nomeempresaapp) desc`,
sql: /*sql*/ ``,};
},
},
}).withSchedules({
C5_big: [
{
name: "Procedure que atualiza os dados do flash",
command: /*sql*/ `BEGIN
PRC_FLASH_ATUALIZA_VENDA(
p_data_inicial => TRUNC(SYSDATE) - 30,
p_data_final => TRUNC(SYSDATE),
p_empresa_ini => 1,
p_empresa_fim => 10
);
END`,
cron: "0 * * * *",
timeout_seconds: 2400,
},
],
});