atlanticose.blogg.se

Automator mac create folders based on email subject line
Automator mac create folders based on email subject line













automator mac create folders based on email subject line

Also, if your Mac is only on WiFi, I don’t know when (or if) your Mac has a working network connection if it eventually gets on WiFi but not in time, you could add something like sleep 60 to your shell script to make it wait 60 seconds before running the rest of the script. Note: if you have FileVault enabled, macOS does not boot when you turn your Mac on so nothing can run until someone logs in at the FileVault login window. After you’ve saved the change, use crontab -l to list your current cron jobs.

automator mac create folders based on email subject line

Edit the current user’s “crontab” by running crontab -e in Terminal which will open your text editor (I think it’s vi by default), insert a new line like this: /path/to/script.sh. Cron is the venerable Unix utility for running commands on a scheduled basis (every hour, every other day, every third Monday, etc.) but even amongst people who have used it, many don’t know that it includes a nickname for running commands at boot. The easiest way I know to send an email at actual boot, not user login, is to use cron to run a command line script. I think a lot of Mac users at home have a single user account and have the account automatically login so using the user’s login items is basically equivalent to running something at boot.















Automator mac create folders based on email subject line