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
.