|
Search tenon.com
Thanks to:
|
|
iTools
On Tue, 27 Aug 2002 09:35:41 -0600 dan@xxxxxxxxxxxx wrote:
> I think you need:
>
> 40 23 * * * root sh /bin/sh
> /Library/WebServer/sitestats/sitestats
>
> I had to do this for my scripts. You are basicly telling the OS to
> open your
> script via the sh command.
>
> I have seen Linux just run the script with out the sh (i.e.
> myscript.sh vs.
> sh myscript.sh or ./myscript.sh).
>
> Could someone please enlighten us as how to mod OSX to run shell
> scripts by
> just calling them by name.
Mine does that now. This is the syntax I have for one running in my
standard login.
05 01 * * * $HOME/bin/rmCheck.sh -d 7 $HOME/Temporary
The script name is rmCheck.sh, the rest are just parameters for
rmCheck.sh. As far as I know, I didn't have to do anything special. I
assume the first line of your scripts is similar to the following:
#!/bin/sh
And the script has the executable bit set.
Mike Schienle
Interactive Visuals, Inc.
http://www.ivsoftware.com
---------------------------------------------------------
This message sent using EMUmail -- http://www.emumail.com
---------------------------------------------------------
Jumping through hoops to get E-mail on the road?
You've got two choices: Join the circus, or use MollyMail.
Molly Mail -- http://www.mollymail.com
---------
---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send
mailto://itools-request@xxxxxxxxxxxxxxx
with the subject: unsubscribe
Find searchable mailin list archives at:
http://itools.blackpepper.co.
|
| <Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: Script,
Mike Schienle <=
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|