• 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: combining Applescript and CLI/cron jobs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: combining Applescript and CLI/cron jobs


  • Subject: Re: combining Applescript and CLI/cron jobs
  • From: Donald Hall <email@hidden>
  • Date: Wed, 20 Aug 2003 23:38:48 -0600

Bert,

I publish a little app called Script Timer that is intended to do just what you want - schedule the execution of AppleScript scripts. (It can also do applications.) Just go to the web site below and click on the Shareware and Freeware button. No need to deal with cron and Unix; it's got a drag and drop interface.

Regards,

Don

At 10:00 PM -0700 2003/08/19, email@hidden wrote:
I want to write two scripts that will run at set times. I don't know
much about Applescript, but I know nothing about creating cron jobs.
One script will run once a day, check a folder for files more than 45
days old, and delete them. The other will run twice a day, the first
time about 9 in the evening, the second about 11:30. It will copy files
from one folder to another, start Acrobat Distiller, and when the
folder the files were copied to is empty, close Distiller.

It seems to me that Applescript is perfect for the actual work,
deleting files, copying files and starting/stopping a program, but that
setting the time the scripts run is exactly what cron jobs are for. I
believe I can manage the scripts, but I have no idea how to use cron to
run them.

And lastly, is there a good, up to date book on Applescript that
includes OS X? If not, what is the best book out there currently? I
have an antiquated copy of Applescript for Dummies, and I know that's
not going to cut it.

Thanks,

Bert Knabe
Computer Technician (and now scripter ;)
Lubbock Avalanche Journal
806-766-2158

--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.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: PlainTalk-J
  • Next by Date: Can't save a script without .scpt extension ?
  • Previous by thread: Re: combining Applescript and CLI/cron jobs
  • Next by thread: Re: combining Applescript and CLI/cron jobs
  • Index(es):
    • Date
    • Thread