combining Applescript and CLI/cron jobs
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.