This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Box 21 — Resumo diário do dia anterior (09h)", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "rule": { | |
| "interval": [ | |
| { "field": "cronExpression", "expression": "0 0 9 * * *" } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Box 21 — Alerta estoque baixo (a cada 6h)", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "rule": { | |
| "interval": [ | |
| { "field": "cronExpression", "expression": "0 0 */6 * * *" } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Box 21 — Backup vendas diário (Google Sheets)", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "rule": { | |
| "interval": [ | |
| { "field": "cronExpression", "expression": "0 0 23 * * *" } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sync.ps1 v2 -- Agente de sincronizacao Shoficina <-> box21games.com.br | |
| # | |
| # Roda em PowerShell 32-bit (driver ODBC do Access e 32-bit). | |
| # Le C:\SHARMAQ\SHOficina\Dados.MDB. | |
| # | |
| # Fluxo de cada ciclo: | |
| # 1. PULL: GET /api/agent/pull-writes (Bearer). Se houver writes pendentes | |
| # enfileirados pelo /admin, aplica via UPDATE no MDB e POST a confirmacao. | |
| # 2. PUSH: le ORDEMS+CLIENTES+SITUACOES, calcula diff por hash e POST mudancas | |
| # pra /api/sync (fluxo original, igual antes). |