Running Cloud Code right before monthly leaderboard is reset
L
Luan Lucas
started a topic
over 4 years ago
Hi,
In my game I want to run a Cloud Code script to save the top 10 entries of a monthly leaderboard in a Game Data entry right before this leaderboard resets. I want to do this every month, automatically. I'd rather not mess with partitioned leaderboards just to do this. To my understanding, both the "Every Day" cloud code script and leaderboard resets occur at 00:00 UTC.Which one happens first? Is there a better way?
Luan Lucas
Hi,
In my game I want to run a Cloud Code script to save the top 10 entries of a monthly leaderboard in a Game Data entry right before this leaderboard resets. I want to do this every month, automatically. I'd rather not mess with partitioned leaderboards just to do this.
To my understanding, both the "Every Day" cloud code script and leaderboard resets occur at 00:00 UTC.Which one happens first? Is there a better way?