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

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-11-2008, 02:22 PM
JoBoy JoBoy is offline
Registered User
 
Join Date: Oct 2007
Posts: 67
How to get scripts to run in proper order?

Dave:

I have three scripts for scheduled copies:

#1 backs up from main internal drive to Time Capsule as sparse image. Initial copy took many hours. Incrementals take less than 30 minutes. Action at end of script is Do Nothing.

#2 backs up from main internal drive to second internal drive. Action at end of script is Do Nothing.

#3 backs up from main internal drive to third internal drive. Action at end of script is Shut Down Computer.

#2 and #3 run every day at 2:35AM and 2:40AM respectively. Everything is normal. On days when #1 runs first, beginning at 2:30AM, it runs for about 25 minutes followed by #3 and then #2. This is my problem. #3 has the Shut Down Computer command at the end of the script. SD! overrides this command to allow #2 to run, but then the computer doesn't shut down. I had hoped that the designated start times would determine the order in which the scripts would run when #1 runs "overtime" but that doesn't seem to be the case. How can I get the scripts to run in proper order?
Reply With Quote
  #2  
Old 10-11-2008, 02:39 PM
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 know, they generally should run in the order that they're specified (time-wise). I've noted some issues with the queue management and there's a bug reported against that, but I can't tell you when it'll be fixed...
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 10-11-2008, 02:46 PM
JoBoy JoBoy is offline
Registered User
 
Join Date: Oct 2007
Posts: 67
OK. I'll have the Mac do the shutdown for now, but I hope the bug gets fixed. Thanks.
Reply With Quote
  #4  
Old 10-14-2008, 01:15 PM
JoBoy JoBoy is offline
Registered User
 
Join Date: Oct 2007
Posts: 67
Today was the first day that all three scripts ran since I posted this thread on 10-11-08. I have made no changes since the first post. To my surprise, they ran in order according the their set start times. This is a case of doing the same thing and getting a different result! Go figure...?
Reply With Quote
  #5  
Old 10-18-2008, 12:00 PM
JoBoy JoBoy is offline
Registered User
 
Join Date: Oct 2007
Posts: 67
This troublesome script runs on Tuesday and Saturday. Last Tuesday, it ran perfectly and in the proper order #1, #2, and #3. Today, Saturday, it ran #1, #3, #2. The shutdown command contained only in #3 was somehow overridden so that #2 could run to completion. The computer then remained on until the set time for shutdown that I had set in the Energy Saver schedule in system preferences. When that time arrived, it shut down. I don't know it this helps your bug chase, but it now appears that the scripts run in order on Tuesdays and not in order on Saturdays. I've made no changes to them since originally setting them up. Tuesday and Saturday are the only days that #1 runs. It updates the SystemImage that is located on Time Capsule's hard drive. It is the only file located on that drive. Time Machine is shut off and is not currently in use. #2 and #3 run in proper order on all other days of the week without a glitch and the shut down command in #3 works. #2 and #3 copy Macintosh HD to second and third internal hard drives respectively (I have a Mac Pro running system 10.5.5 from Sandbox). On those days, the shut down command in system preferences is redundant and doesn't function since the computer is already off.

Last edited by JoBoy; 10-18-2008 at 12:13 PM.
Reply With Quote
  #6  
Old 10-18-2008, 12:29 PM
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
It has nothing to do with the days. It's because -- as I indicated -- the next one that gets run seems to be whatever one 'frees' up first. There' s a bug reported against that.
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 10-18-2008, 12:56 PM
JoBoy JoBoy is offline
Registered User
 
Join Date: Oct 2007
Posts: 67
OK. Thanks. All I can do is report the facts. I rely on you for the interpretation. Best regards.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Shell Scripts -Questions Gorisan General 5 08-03-2008 12:59 AM
Post-backup scripts dont work hardcoreUFO General 3 04-12-2007 10:34 AM
exempt folders from synchronizing routine (scripts?) nfr General 1 11-15-2006 05:55 PM
Scripts on Scheduled backup buster99 General 1 09-26-2006 07:28 AM
Best Itunes Library Backup Settings, Scripts? greenjeens General 5 05-21-2006 03:28 PM


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


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