How can I run a script I made on my mac automatically.
It needs to run once a day. Because it requires rsync the mac needs to be connected to the internet and I have realised when it is sleeping wifi isn't connected.
How can I get around this?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
See this answer for the "how to run daily" part of your question: How can I get a script to run every day on Mac OS X?
Because of how launchd works, it will run the command on wake if the scheduled time passed while your computer was asleep.