Burn wallet command for reaching goals

I’m new to coding, I’ve been playing around with solidity for about a month now. I’m trying to create or discover a way to do the following.
If my created token reaches a certain amount in the burn wallet, lets say 10%. the contract then sends an additional 1% held in the contract to the burn wallet address. is there a way to build this into a smart contract to anyone’s knowledge? have the contract query the burn wallet regularly and when it reaches the desired amount it could have a pre designated amount sent to it? OR how about after a certain amount of time (days passed) it sends a designated amount to the burn wallet address?