I am trying to make an event in my game using global stats, in this case I want to give some bonus for total items looted by all players. To track that I made a custom event every time someone loot an item. And I am trying to store the total events between two dates on the title data to acces it ingame.
I could do it manually just by checking the event history but could be possible to make a scheduled task to update title data value every 30 minutes or one hour during a couple of days by executing a cloud script function? that function should get the total event created in that time period.