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

Go Back   Shirt Pocket Discussions > Search Forums

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: shorton
Forum: General 01-21-2007, 08:27 AM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Well, maybe I spoke to soon. There is another level of complexity here, and got the following error on an autoexecution this AM.

| 05:09:32 AM | Info | ...ACTION: Running shell script...
Forum: General 01-18-2007, 09:27 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Thank you for your help.

In summary, if I were to re-create the shell script via terminal I would then use the code
-------
#!/bin/sh
nohup /bin/bash -c "sleep 10; shutdown -r +10" &
-------...
Forum: General 01-18-2007, 09:01 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Well, it sounds as if I would have to start over creating the shell script and other than following your recipe, I really don't know what I am doing. However, is there any harm in leaving it the way...
Forum: General 01-18-2007, 01:25 AM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Progress has been made, thank you.

Doing what you wrote above I was able to get a shell script to restart the Mac. I then ran SuperDuper with the shell script being executed after completion of...
Forum: General 01-15-2007, 11:14 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

I have no printer connected to this printer, so after
cat ~/Desktop/restartshellscript.txt and 'return', nothing seems to happen.
Forum: General 01-15-2007, 10:51 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Last login: Mon Jan 15 21:46:47 on console
Welcome to Darwin!
SBC-Sanctuary:~ root# ls -l ~/Desktop
total 2920
-rw------- 1 root wheel 6148 Jan 12 22:32 .DS_Store
-rw------- 1 root ...
Forum: General 01-12-2007, 11:38 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Here is what I have in a terminal window.

Last login: Fri Jan 12 22:31:33 on ttyp1
Welcome to Darwin!
SBC-Sanctuary:~ root# cat /private/var/root/Desktop/restartshellscript.txt
SBC-Sanctuary:~...
Forum: General 01-12-2007, 11:24 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

OK, I did and it did restart in 1 minute. I believe that my txt file had 2 spaces between the -r and the +1. When I made certain that there was a single space and typed it directly into terminal, it...
Forum: General 01-12-2007, 11:20 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Yup, reboots with shutdown -r now in terminal.

the code in the restart script is:

#!/bin/sh
shutdown -r +1
Forum: General 01-12-2007, 11:09 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Tried it, nothing happens.

Scott
Forum: General 01-08-2007, 09:12 AM
Replies: 28
Views: 12,474
Posted By shorton
Question Script Help

Again, I apologize for being such a novice, but I really don't know how to make/save an executable.

I rewrote the code and saved as plain text. I opened terminal and typed the code you supplied. I...
Forum: General 01-07-2007, 11:48 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Well, I tried to make a shell script, but I still really don't know what I am doing. I get the following error (same error when I tried to get SD to run a simple compiled applescript)
...
Forum: General 01-07-2007, 11:32 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Actually, I want the computer to reboot, not shutdown. For a shutdown, couldn't I just do that via the SD interface itself?

Also, I tried something similar with terminal but got myself confused...
Forum: General 01-07-2007, 11:20 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

Yes.

This is a shared computer at our church. It boots itself every Sunday AM very early. SD runs as 'root' a few minutes after boot up. I could shut down the computer, but it is more convenient...
Forum: General 01-07-2007, 11:03 PM
Replies: 28
Views: 12,474
Posted By shorton
Script Help

:confused: I would like SuperDuper to run a script that reboots my computer from the same startup disk that it is currently running from after completion.

I know nothing about shell scripting.
...
Forum: General 01-29-2006, 04:01 PM
Replies: 2
Views: 9,332
Posted By shorton
Send email upon completion?

I have searched the forums and not found this topic, but may have missed it.

I am a novice and know nothing about writing a UNIX shell script or applescript but probably could muddle through...
Showing results 1 to 16 of 16

 
Forum Jump

All times are GMT -4. The time now is 06:50 PM.


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