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

combining Applescript and CLI/cron jobs


  • Subject: combining Applescript and CLI/cron jobs
  • From: Bert Knabe <email@hidden>
  • Date: Tue, 19 Aug 2003 22:58:10 -0500

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
_______________________________________________
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.

  • Follow-Ups:
    • Re: combining Applescript and CLI/cron jobs
      • From: Clark Goble <email@hidden>
    • Re: combining Applescript and CLI/cron jobs
      • From: email@hidden
  • Prev by Date: Re: Silly question?
  • Next by Date: Re: Netscape email scripting & pasting weirdness
  • Previous by thread: Re: Silly question?
  • Next by thread: Re: combining Applescript and CLI/cron jobs
  • Index(es):
    • Date
    • Thread