Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 09-24-2009, 10:45 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
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
Reply With Quote
  #3  
Old 09-24-2009, 11:32 AM
msealey msealey is offline
Registered User
 
Join Date: Sep 2009
Location: Southern California
Posts: 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?
Reply With Quote
  #4  
Old 09-24-2009, 11:38 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
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
Reply With Quote
  #5  
Old 09-24-2009, 12:56 PM
msealey msealey is offline
Registered User
 
Join Date: Sep 2009
Location: Southern California
Posts: 3
Thanks, Dave. I deleted and recreated each Scheduled event and the shell scripts ran.

Appreciated
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.