Using launchd agents to schedule scripts on macOS
Even though launchd has been around for quite some time now, I was still using crontab for scheduling some of my scripts until recently. Since launchd LaunchAgents can do much more and don’t expect your computer to be running at all times, it’s time to start using them more 😎. Let’s see how we can easily set up a LaunchAgent to run a Python script for the current user in regular intervals: ...