From 5ac7730aa91d30857b400f89e59f365ca5a3413b Mon Sep 17 00:00:00 2001 From: Leonardo Matos Date: Wed, 22 Jan 2025 13:26:49 -0300 Subject: [PATCH] chore: edit functions cron --- functions/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/index.js b/functions/index.js index b7fac13..041b549 100644 --- a/functions/index.js +++ b/functions/index.js @@ -144,13 +144,13 @@ exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => { }) console.log(`-- Sheduled update E-Com Plus tokens '${cron}'`) -const cronSendOrders = '18,47 * * * *' +const cronSendOrders = '32,51 * * * *' const sendWaitingOrders = require('./lib/integration/send-waiting-orders') exports.sendWaitingOrders = functions.runWith({ timeoutSeconds: 300 }) .pubsub.schedule(cronSendOrders).onRun(sendWaitingOrders) console.log(`-- Sheduled send tags to Mandae API ${cronSendOrders}`) -const cronCheckTracking = '10,39 * * * *' +const cronCheckTracking = '10,47 * * * *' const checkOrdersTracking = require('./lib/integration/check-orders-tracking') exports.checkOrdersTracking = functions.runWith({ timeoutSeconds: 300 }) .pubsub.schedule(cronCheckTracking).onRun(checkOrdersTracking)