Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored Jun 5, 2024
1 parent 29c517a commit b0abc20
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 @@ -145,7 +145,7 @@ exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => {
console.log(`-- Sheduled update E-Com Plus tokens '${cron}'`)

const updateTracking = require('./lib/integration/update-tracking')
const trackingCron = '*/50 * * * *'
const trackingCron = '*/20 * * * *'
exports.scheduledSync = functions.runWith({ timeoutSeconds: 360 })
.pubsub.schedule(trackingCron).onRun(updateTracking)
console.log(`-- Sheduled active tracking from Mandae API '${trackingCron}'`)
Expand All @@ -155,4 +155,4 @@ console.log(`-- Sheduled active tracking from Mandae API '${trackingCron}'`)
const oldTag = require('./lib/integration/get-old-tag')
exports.scheduledSync = functions.runWith({ timeoutSeconds: 360 })
.pubsub.schedule('*/30 * * * *').onRun(oldTag)
console.log(`-- Sheduled old tags from Mandae API */30 * * * *'`)
console.log(`-- Sheduled old tags from Mandae API */30 * * * *'`)

0 comments on commit b0abc20

Please sign in to comment.