Refer to the Apple’s article (Creating Launch Daemons and Agents) on how to create periodic jobs, or setting intervals for specific scripts.

The following Use launchd instead of crontab on your Mac showcases how to transform your shell scripts to launchd.

Refer to the following MacOS - Automate Tasks via launchd tutorial to learn how to implement your own periodic tasks alternative to crontab.

References