View Single Post
  #1  
Old 09-24-2009, 10:38 AM
msealey msealey is offline
Registered User
 
Join Date: Sep 2009
Location: Southern California
Posts: 3
Question Shell Script after completion not working

Hi,

Can anyone think of a reason why a (bash) shell script (to email me notification of the fact) runs (after successful completion) when I 'Copy Now' manually but does not run (even though the log says it does) in all scheduled SuperDuper clones?

Green bars all the way.

I cd to the correct directory and get no errors when cloning manually. No emails when scheduled. It's a short script with permissions set to 555:

#!/bin/bash
cd /Applications/FileMaker\ Pro\ 6\ Folder/SuperDuper
SUBJECT="OTA Backup completed"
EMAIL="person1@email.address,person2@email.address ,person3@email.address"
EMAILMESSAGE="SuperDuperUSB1AM.txt"
mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE


TIA!
Reply With Quote