Population based commandsSuggestion

Anyway to add trigger like:

"Run commands when population goes above x"
"Run commands when population goes below x"

?

It is possible to add
when reaching a certain online run the command(retry delay in seconds)