r/applescript • u/techsparrowlionpie • Sep 16 '22
How I used launchd to run my applescript to run every workday at 9am.
Launchd is pretty much macos way of running cron jobs. I have a script that opens a couple apps that I would normally use on a typical workday. While this script can vary from person to person, the goal was to be able to find a way to trigger the script to run every weekday at a specific time. This triggering of scripts wasn't well documented on other online platforms and especially here on reddit. I wrote a simple and practical blog on how to do it.
https://lorenzejay.hashnode.dev/how-i-automated-my-macbook-to-help-me-get-ready-for-work
2
u/CO_Automation Sep 16 '22
Great post Lorenze i gave up on trying to config launchd a few times you’ve inspired me to have another look.
Also love the look of hashnode as a platform. Have you compared against Medium?
2
u/schlumpi Sep 23 '22
Ye, looks nice. - But my personal problem with your script is: it can’t decide if it should run the commands depending if you are sick or on vacation. It will always run on workdays.