Schedule jobs with at or crontab on Mac OS X and some alternatives

Solution 1:

launchd

On macOS, launchd is Apple's replacement for cron. I don't know what the "official" replacement for at is.

See the StartCalendarInterval key in launchd.plist(5) to get started.