how to rank users

I want to rank all the users in my site according to the score they have.but i am unable to otain all the score objects because of the limit on get_entities() which returns only 10 entities at max. I want to run this as a cron job so that ranks keep updating as and when score changes. even changing the limit to false does no good. how do i accomplish this now?

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking