Help and a request for suggestions
Help and a request for suggestions
- Subject: Help and a request for suggestions
- From: "Steve Suranie" <email@hidden>
- Date: Fri, 24 Jan 2003 13:38:26 -0500
- Thread-topic: applescript-users digest, Vol 3 #1282 - 14 msgs
Hi all:
We're running Apache 1.x (not sure of the exact Apache we have) and Cumulus 5.5 Web Server off of a G4. Is there a way with AppleScript we could "ping" the servers to see if they are up and running and if not programmatically restart the Macintosh and/or reset the servers? I know naught about servers and my Mac tech guy isn't around to help me muddle through this post but hopefully you get the idea of what we are trying to accomplish...
And I am also looking for suggestions. One of the ways we use Cumulus is to post all the ads that appear in our magazines to an intranet site which the sales staff can then download and/or e-mail in either PDF or JPEG formats. I have scripts which automate most of the process. The problem I am having is that I have two folders (pdfs and jpgs) which house all the PDFs and JPEGs respectively. I need to check these folders during the process to ensure files I am currently working with have not already been archived. Problem is these folders are getting pretty large - in 2 weeks of running I'm up to 2500+ files - in a few months things will be getting quite large. It's taking a while for the script to read through these files to do the comparison. The way I am doing it now is I am creating a list of the files I am moving, looping through it and comparing item i to a list of the pdfs or jpgs folder. If item i is not there I then proceed with other stuff. Is there a faster way to do this? We have a very strict naming convention:
AA012703_091.pdf
AA = magazine code (we have 26 mags)
012703 = equals date MMDDYY
091 = ad number for that magazine
Any help would be appreciated.
Thanks
Steve
_______________________________________________
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.