Forum: General
01-21-2007, 07:27 AM
|
Replies: 28
Views: 17,055
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, 08:27 PM
|
Replies: 28
Views: 17,055
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, 08:01 PM
|
Replies: 28
Views: 17,055
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, 12:25 AM
|
Replies: 28
Views: 17,055
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, 10:14 PM
|
Replies: 28
Views: 17,055
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, 09:51 PM
|
Replies: 28
Views: 17,055
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, 10:38 PM
|
Replies: 28
Views: 17,055
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, 10:24 PM
|
Replies: 28
Views: 17,055
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, 10:20 PM
|
Replies: 28
Views: 17,055
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, 10:09 PM
|
Replies: 28
Views: 17,055
|
Forum: General
01-08-2007, 08:12 AM
|
Replies: 28
Views: 17,055
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, 10:48 PM
|
Replies: 28
Views: 17,055
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, 10:32 PM
|
Replies: 28
Views: 17,055
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, 10:20 PM
|
Replies: 28
Views: 17,055
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, 10:03 PM
|
Replies: 28
Views: 17,055
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, 03:01 PM
|
Replies: 2
Views: 15,478
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...
|