Skip to content

Commit d830f83

Browse files
committed
chore(update-tokens): edit cron to run each 3h interval
1 parent 14c17c0 commit d830f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ exports[functionName] = functions.https.onRequest(server)
133133
console.log(`-- Starting '${app.title}' E-Com Plus app with Function '${functionName}'`)
134134

135135
// schedule update tokens job
136-
const cron = '45 3,11,19 * * *'
136+
const cron = '45 */3 * * *'
137137
exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => {
138138
return prepareAppSdk().then(appSdk => {
139139
return appSdk.updateTokens()

0 commit comments

Comments
 (0)