Re: Folder action switching itself off?
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