What exactly are you trying to do here ? You're getting NOT AUTHORIZED here as I assume you are trying to run a script in the context of a player. GS_MINUTE doesn't have player context. If you can let us know what you are trying to do we can point you in the right direction.
Our game has tournament mode, which is limited in time. So, once the tournament ends ( GS_MINUTE or GS_HOUR or day script, not sure which one we'll use) should do some math to the first 10 players. Like sending emails, and some other functions.
Currently, i just need to find all these 10 winners.
You should be able to use SparkLeaderboard to accomplish this. Specifically the getEntries call. You'll be able to retrieve a cursor of entries by the count of your choosing. Doing this every minute would probably be slightly excessive. Every hour or day should suffice.
How to access leaderboards from GS_MINUTE system script. I'm getting always NOT AUTHORIZED response.