Retirada temporária de agendamento.
davinTI/app-dono-modulos/pipeline/head There was a failure building this commit
davinTI/app-dono-modulos/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -965,24 +965,14 @@ where 1 = 0`,
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
.withSchedules({
|
.withSchedules({
|
||||||
C5: [
|
C5:[
|
||||||
createSchedule({
|
{
|
||||||
name: "Procedure que atualiza os dados do flash de vendas",
|
name: "Procedure que atualiza os dados do flash",
|
||||||
params: ["empresas", "divisao", "cgos", "dias_atualizacao"],
|
command: /*sql*/ `BEGIN
|
||||||
command: (args) => ({
|
END`,
|
||||||
sql: /*sql*/ `BEGIN
|
|
||||||
PRC_FLASH_ATUALIZA_VENDA_DONO(
|
|
||||||
p_data_inicial => TRUNC(SYSDATE) - ${args.dias_atualizacao},
|
|
||||||
p_data_final => TRUNC(SYSDATE),
|
|
||||||
p_empresas => ${args.empresas},
|
|
||||||
p_divisao => ${args.divisao},
|
|
||||||
p_cgos => ${args.cgos}
|
|
||||||
);
|
|
||||||
END;`,
|
|
||||||
}),
|
|
||||||
cron: "0 * * * *",
|
cron: "0 * * * *",
|
||||||
timeout_seconds: 2400,
|
timeout_seconds: 2400,
|
||||||
}),
|
},
|
||||||
],
|
],
|
||||||
C5_big: [
|
C5_big: [
|
||||||
createSchedule({
|
createSchedule({
|
||||||
|
|||||||
Reference in New Issue
Block a user