The best resource for launchd on macOS ↦
As mentioned on Backstage #20, I’m automating a few rsync
commands using cron
and Cronitor to backup my “Production” files to the Storinator AV15 on the local network.
It turns out that cron
on macOS is frowned upon in favor of launchd
, but information on how to use all the power of launchd
is sparse to say the least. This resource is the best I’ve found in learning all the parts of launchd
and how to use it.
Ask me anything in the comments, I’ll tell you everything I’ve learned.
Discussion
Sign in or Join to comment or subscribe
Adam Stacoviak
Austin, TX
Founder and Editor-in-Chief of Changelog
2021-11-30T20:45:03Z ago
To be clear,
cron
is still available on macOS and works well.According to Apple’s Daemons and Services Programming Guide:
Amir Yalon
Israel
2021-12-01T10:24:46Z ago
Linux users should similarly get to know systemd! (I should probably log that link separately.)