Is there a way to mount disks in Mountain Lion that works with cron?

The following command works fine from the Terminal:

/usr/sbin/diskutil mount disk1s6

But when executed via my crontab, it fails. My crontab is working fine, otherwise.

I've been using cron to mount my backup disk once a day before I do a smart clone via SuperDuper. (Possibly related... the SuperDuper release notes mention problems mounting drives in Mountain Lion, but I want to emphasize I was mounting drives separately using a shell script and/or cron.)

Any ideas or potential workarounds for this problem?

  • How does it fail, do you get any error messages?
    – nohillside
    Aug 10, 2012 at 4:55
  • It fails silently with no error messages. Aug 10, 2012 at 23:32
  • And you are sure it gets run at all?
    – nohillside
    Aug 11, 2012 at 7:31
  • Yes, other cron tasks execute properly. Aug 16, 2012 at 20:28
  • I never found a solution for this, so I'm using LaunchAgents (via Lingon 3) instead. Works great! Aug 16, 2012 at 20:28

1 Answer 1


I had this same problem and found that I could get it to work if the cron job was launched under root.

This Apple discussion link has this note:

[...] Basically, Apple is tracking where an application launches from, and seems to be preventing processes that launch from "cron" (one of the system schedulers), even indirectly, from mounting local disk volumes, even when that application is signed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .