Skip to content

Commit 5ac7730

Browse files
committed
chore: edit functions cron
1 parent e461a0c commit 5ac7730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => {
144144
})
145145
console.log(`-- Sheduled update E-Com Plus tokens '${cron}'`)
146146

147-
const cronSendOrders = '18,47 * * * *'
147+
const cronSendOrders = '32,51 * * * *'
148148
const sendWaitingOrders = require('./lib/integration/send-waiting-orders')
149149
exports.sendWaitingOrders = functions.runWith({ timeoutSeconds: 300 })
150150
.pubsub.schedule(cronSendOrders).onRun(sendWaitingOrders)
151151
console.log(`-- Sheduled send tags to Mandae API ${cronSendOrders}`)
152152

153-
const cronCheckTracking = '10,39 * * * *'
153+
const cronCheckTracking = '10,47 * * * *'
154154
const checkOrdersTracking = require('./lib/integration/check-orders-tracking')
155155
exports.checkOrdersTracking = functions.runWith({ timeoutSeconds: 300 })
156156
.pubsub.schedule(cronCheckTracking).onRun(checkOrdersTracking)

0 commit comments

Comments
 (0)