marketCloseEmails: every hour
This commit is contained in:
parent
69ff2c4f9a
commit
3085493882
|
@ -6,7 +6,7 @@ import { getPrivateUser, getUserByUsername } from './utils'
|
||||||
import { sendMarketCloseEmail } from './emails'
|
import { sendMarketCloseEmail } from './emails'
|
||||||
|
|
||||||
export const marketCloseEmails = functions.pubsub
|
export const marketCloseEmails = functions.pubsub
|
||||||
.schedule('every 2 minutes')
|
.schedule('every hour')
|
||||||
.onRun(async () => {
|
.onRun(async () => {
|
||||||
await sendMarketCloseEmails()
|
await sendMarketCloseEmails()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user