Skip to content

Commit 0261eaf

Browse files
committed
chore(update-tokens): edit cron to run each 3h
1 parent d8f1d0d commit 0261eaf

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 = '12 3,11,19 * * *'
136+
const cron = '12 */3 * * *'
137137
exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => {
138138
return prepareAppSdk().then(appSdk => {
139139
return appSdk.updateTokens()

0 commit comments

Comments
 (0)