#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
You're sure this was actually set up before the schedules were created? There's really no difference between a manual and a scheduled run as these things go...
__________________
--Dave Nanian |
#3
|
|||
|
|||
Dave,
No schedule set up first. Always works. Then I added the script to the Options in the Copy Script. Is that sequence important? |
#4
|
||||
|
||||
Well, changes to the main window do not change existing schedules. You'd have to delete and recreate the schedule for it to work... if you didn't do that.
__________________
--Dave Nanian |
#5
|
|||
|
|||
Thanks, Dave. I deleted and recreated each Scheduled event and the shell scripts ran.
Appreciated |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Booting from backup | guruuno | General | 27 | 10-16-2009 11:53 PM |
Shell script not executing before backup | gfesmire | General | 13 | 01-08-2009 09:37 PM |
Do shell script erroring? | Budgie | General | 1 | 02-08-2006 04:50 PM |
Error: No space left on device | tradervic | General | 11 | 06-29-2005 04:50 PM |
Error when running SuperDuper via shell script | kbradnam | General | 9 | 03-09-2005 05:12 PM |