Title: CLI CALC
Last modified: April 25, 2024

---

# CLI CALC

 *  [rowdogz](https://wordpress.org/support/users/rowdogz/)
 * (@rowdogz)
 * [2 years ago](https://wordpress.org/support/topic/cli-calc/)
 * Again great plugin and thank you for all your help and support.
   Quick question
   regarding CLI CALC function. I find when I use it, it correctly calculates the
   scores but it does not update the user rankings. at the moment I manually go 
   in afterwards and click on the UI to update the rankings, I was wondering if 
   I am doing something wrong or missing something to ensure that this happens using
   the CLI function?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [2 years ago](https://wordpress.org/support/topic/cli-calc/#post-17745123)
 * Not sure that I understand your question correctly. The CLI function only calculates
   the new ranking in the database, so visitors can see the new ranking once it 
   is calculated. It doesn’t do anything on the UI (there is only a command line).
 * p.s. sorry for the late response. Apparently the new forum removed my email subscription
   so I didn’t get any notifications for new posts in the forum.
 *  Thread Starter [rowdogz](https://wordpress.org/support/users/rowdogz/)
 * (@rowdogz)
 * [2 years ago](https://wordpress.org/support/topic/cli-calc/#post-17745629)
 * Thanks for coming back to me, I find when I run the CLI CALC, it does calculate
   the scores for the users. But I have to go into the UI and press save under matches
   for it to update to show the users their new scores. 
   I thought using the CLI
   CALC function would calculate the scores for users and update them to show the
   users when the log in?
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [2 years ago](https://wordpress.org/support/topic/cli-calc/#post-17745908)
 * The CLI function does the same as when you calculate via the admin. Only with
   WP_CLI you call the function via the command-line and this is (usually) faster
   because there is no delay in doing multiple requests to the server.
 * Sounds a bit like you have some caching on the front end. Did you check if other
   users also experience the same problem? Or do you have a way to invalidate the
   cache after a calculation?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CLI CALC’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

## Tags

 * [cli](https://wordpress.org/support/topic-tag/cli/)

 * 3 replies
 * 2 participants
 * Last reply from: [AntoineH](https://wordpress.org/support/users/antoineh/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/cli-calc/#post-17745908)
 * Status: not a support question