Command that keeps running

Im wondering if theres a way for a command to run constantly without the need for a command block. I know that you can keep a command block always loaded in spawn chunks but just wondering bc this would save some space 😄

Continue to help post