changed timezone of cron task

This commit is contained in:
Jack 2020-07-06 01:09:17 +01:00
parent 6913724687
commit bf957f9215

View file

@ -984,6 +984,7 @@ exports.getLeaderboard = functions.https.onCall((request, response) => {
exports.scheduledFunctionCrontab = functions.pubsub
.schedule("00 00 * * *")
.timeZone("Africa/Abidjan")
.onRun((context) => {
try {
console.log("moving daily leaderboards to history");