Run monday 12am
This commit is contained in:
parent
dc7cf8bca6
commit
1eb208c7d7
|
@ -12,8 +12,8 @@ const firestore = admin.firestore()
|
||||||
|
|
||||||
export const updateLoans = functions
|
export const updateLoans = functions
|
||||||
.runWith({ memory: '1GB', timeoutSeconds: 540 })
|
.runWith({ memory: '1GB', timeoutSeconds: 540 })
|
||||||
// Run every Monday morning.
|
// Run every Monday.
|
||||||
.pubsub.schedule('0 2 * * 1')
|
.pubsub.schedule('0 0 * * 1')
|
||||||
.timeZone('America/Los_Angeles')
|
.timeZone('America/Los_Angeles')
|
||||||
.onRun(updateLoansCore)
|
.onRun(updateLoansCore)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user