I think he was wanting his bestshare stat reset after each block was found on the network, hence the every 10 minute thing came up.
Well, I can understand that, I modifyed cgminer to do so, I called it "Bestsharreset after a new block is found"
The api got now bestshare based on the actual block and the bestever (over the time cgminer is running).
Edit:
cgminer version 4.12.beta - Started: [2020-12-17 09:42:22.964]
----------------------------------------------------------------------------------------------------
(5s):33.45G (1m):32.77G (5m):32.95G (15m):31.59G (avg):33.11Gh/s
A:0 R:0 HW:0 WU:462.4/m | ST: 1 SS: 0 NB: 5 LW: 22997 GF: 0 RF: 0
Connected to (null) diff 18.7T without LP as user mainnetuser
Block: 730564b8... Diff:18.7T Started: [10:24:48.896] Best share: 1.12K
----------------------------------------------------------------------------------------------------
[U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
0: LIN 0 : 270MHz 37C | 27.75G / 33.16Gh/s WU:463.3/m A:0 R:0 HW:0
----------------------------------------------------------------------------------------------------
[N]ormal [C]lear [S]ilent mode (disable all output)
[D]ebug:off
[P]er-device:off
[Q]uiet:off
[V]erbose:off
[R]PC debug:off
[W]orkTime details:off
co[M]pact: off
[T]oggle status switching:disabled
w[I]descreen:enabled
[Z]ero statistics
[B]est share resets after a new block is found:enabled
[L]og interval:5
Select an option or any other key to return
But in the end, only 1 message is realy important: "solved and confirmed"