- Joined
- Mar 2, 2016
- Messages
- 94
- Reaction score
- 1
Greetings all ...
I have 2 Mac Minis known as SystemB and SystemC. My question is that, using a shell script invoked by cron under Terminal, I would like to mount the hard disk of SystemB from SystemC. This is easy enough to do using Finder, but none of the mount commands I've tried in my shell script have worked.
I tried mounting SystemB's HD using Finder and then running my cron script, but the Finder connection drops at some later point in time, because after that point the cron script reports it can't connect to the drive. My assumption is that the Finder connection must have some kind of automatic timeout due to inactivity. So, what I want the script on SystemC to do is mount SystemB's HD, copy off a few files, then umount SystemB's HD.
Can anyone give me a clue? Both Minis are running El Capitan with all maintenance applied.
I have 2 Mac Minis known as SystemB and SystemC. My question is that, using a shell script invoked by cron under Terminal, I would like to mount the hard disk of SystemB from SystemC. This is easy enough to do using Finder, but none of the mount commands I've tried in my shell script have worked.
I tried mounting SystemB's HD using Finder and then running my cron script, but the Finder connection drops at some later point in time, because after that point the cron script reports it can't connect to the drive. My assumption is that the Finder connection must have some kind of automatic timeout due to inactivity. So, what I want the script on SystemC to do is mount SystemB's HD, copy off a few files, then umount SystemB's HD.
Can anyone give me a clue? Both Minis are running El Capitan with all maintenance applied.