I forgot you can't just run a shell script with rsync calls via cron on macOS because of... security. I think my workaround will do though.
I write a shell script and then create an Automator application that calls the shell script. I then add a cron job to open the application.
I need to check if it runs when the screen is locked. I'm pretty sure it does but I will test again.
Seems to run fine even when the screen is locked... I really should have written that blog post years ago so I didn't have to remember all of this now.
@rasterweb same! There are at least three weird glitches that an Adobe program or Apple’s MacOS will throw into the mix just intermittently enough that I’ve forgotten all about how to fix it and, of course, I never documented the fix. This must be some Law of Tech somewhere….