Re: Folder Action keeps dying
Re: Folder Action keeps dying
- Subject: Re: Folder Action keeps dying
- From: Ron Bishop <email@hidden>
- Date: Fri, 26 Sep 2003 09:04:47 -0500
This sounds like something I had to set up here. Every night, we have
to PDF a large volume of certain documents out of a larger pool in a
fairly quick manner. I kept running into issues when I relied on
watched folders or folder actions. When something failed it was
difficult to tell exactly what,when, and where it happened. I was
having to look at work-arounds much like you're doing - setting up cron
jobs to reenable Folder Actions every 3 hours.
I don't know what you're doing, but my problem was solved using PStill,
iDo Script Scheduler, and Applescript. PStill can be easily shell
scripted thus I manage the files from being to end via AppleScript.
("/usr/bin/pstill file newfile"), low cost, Cocoa, free upgrades for
life - www.stone.com. iDo Script Scheduler is far easier to deal with
than cron, handles Applescript, shell scripts, and Perl. As this has
gotten bigger, we're adding MySQL to the mix. But it began by just
using the Comment Field in the Finder to track files.
I see watched folders as sending a group of preschoolers into the front
door and then waiting for them at the back door not knowing what is
going on and when (if) they all will come out. By dealing with each
file, it's like sending one kid through at a time.
Do you have some example code from your script? Or if you're interested
in the process/script I use let me know.
Good luck,
Ron Bishop
Macintosh Systems Administrator
The Kansas City Star
1728 Grand Boulevard
Kansas City, MO 64108
816/234-4943
On Thursday, September 25, 2003, at 07:07 PM, Bert Knabe wrote:
I don't know what's going on. I have an Applescript Folder Action that
copies files put in one folder into another folder. Distiller is
running constantly, pdfing the copied files. For some reason the
Folder action just stops after a while. Someone told me they have seen
Folder Actions spontaneously disable when programs are running
constantly, but all that is required is that Folder Actions be enabled
again for the script to start running.
When I learned that, I set up. It stopped after 24 hours. So I bought
Script Timer, hoping it would do the job and set it to run the script
every 1/2 hour. It made it past 24 hours, and stopped after
approximately 30 hours.
Unless someone can help me figure out why I can't keep a folder action
going, my next step is either a crash course in shell scripting or a
script to start Distiller every so often, and kill distiller when the
in-folder is empty.
Oh, I'm running OS X 10.2.6 on Xserve w/XserveRAID
Bert Knabe
Computer Technician
Lubbock Avalanche Journal
806-766-2158
_______________________________________________
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.
_______________________________________________
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.