Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 authored Sep 6, 2024
1 parent 08ad9f8 commit bad01b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => {
})
console.log(`-- Sheduled update E-Com Plus tokens '${cron}'`)

const cronSendOrders = '*/12,41 * * * *'
const cronSendOrders = '12,41 * * * *'
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 = '*/18,47 * * * *'
const cronCheckTracking = '18,47 * * * *'
const checkOrdersTracking = require('./lib/integration/check-orders-tracking')
exports.checkOrdersTracking = functions.runWith({ timeoutSeconds: 300 })
.pubsub.schedule(cronCheckTracking).onRun(checkOrdersTracking)
Expand Down

0 comments on commit bad01b4

Please sign in to comment.