Sunday, 18 August 2013

Can I use cron or launchd to run a bash script without being logged in?

Can I use cron or launchd to run a bash script without being logged in?

I'd like to have a simple bash script run (regardless of whether anyone is
logged in or not) akin to putting it in /etc/cron.daily/ on Linux, but on
Mac OS X Mountain Lion 10.8.4. If it's possible, how? All it needs to do
is copy (and maybe bzip) a file.

No comments:

Post a Comment