• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Starting Script via CRON?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting Script via CRON?


  • Subject: Re: Starting Script via CRON?
  • From: Juergen Schell <email@hidden>
  • Date: Wed, 31 Jul 2002 18:11:16 +0200

Your path looks strange. If "HD Name" is where your system resides, it should be the root point, so

"System/Library/Scripts/Archive DB for Offsite"

should be the path. If it is another volume, the path should start with the mount point:

"/Volumes/HD Name/System/Library/Scripts/Archive DB for Offsite"

Just another question: Do you want to *open* that script file from cron or do you want to *run* it? In the latter case, something like

osascript -e 'tell (load script file "HD Zwo:Testscript") to run'

should be better. (The path is on my machine of course. Note that inside the AppleScript code, it uses traditional Mac path syntax).

J|rgen

I've got a script that resides in /HD Name/System/Library/Scripts/ and
I've tried to place in another directory at /HD Name/Scripts/

When I try to open with /usr/bin/open "/HD
Name/System/Library/Scripts/Archive DB for Offsite" from terminal I get a
no such file error. I've verified over and over in the Finder (via Get
Info) that the path is indeed correct.

What am I doing wrong here??

thx
andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


--


J|rgen Schell
RagTime GmbH Tel: [49] (2103) 9657-0
Itterpark 5 Fax: [49] (2103) 9657-96
D-40724 Hilden mailto:email@hidden
Germany http://www.RagTime-online.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: QXP5 image offset
  • Next by Date: Re: Today's Question - poke a character in a string
  • Previous by thread: Starting Script via CRON?
  • Next by thread: Write to File
  • Index(es):
    • Date
    • Thread