• 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: Folder action switching itself off?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder action switching itself off?


  • Subject: Re: Folder action switching itself off?
  • From: Simon Troup <email@hidden>
  • Date: Sat, 29 Jan 2005 02:43:25 +0000

> I have a folder action that's switching itself off after it runs
> every time.
>
> Everything in the script runs, the very last thing, a command line
> call to a PHP script via the PHP CLI, completes its job successfully.
> It's quite involved however, and probably takes a 90 seconds or so to
> execute fully.
>
> So, in short, the script works fine from beginning to end, but
> switches itself off after the PHP call (which itself works!).
>
> Is applescript "timing out" while waiting for the command line to
> return a response? If so, can I get it to fail more gracefully, or
> wait longer?

I tried this and still failed ...

with timeout of 300 seconds
    do shell script "php /Library/WebServer/Documents/fileops/test.php"
end timeout

... any other suggestions please let me know.

Simon Troup
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Folder action switching itself off?
      • From: yvan-koenig <email@hidden>
References: 
 >Folder action switching itself off? (From: Simon Troup <email@hidden>)

  • Prev by Date: RE: New window in Terminal.app
  • Next by Date: RE: New window in Terminal.app
  • Previous by thread: Folder action switching itself off?
  • Next by thread: Re: Folder action switching itself off?
  • Index(es):
    • Date
    • Thread