Re: Killing a process at a certain time
Re: Killing a process at a certain time
- Subject: Re: Killing a process at a certain time
- From: "Donald S. Hall" <email@hidden>
- Date: Mon, 03 Sep 2001 23:43:37 -0600
Chris,
I put out a shareware app called Script Timer that allows you to schedule
Applescripts. It should suit your needs. Just go to the web site in my
signature below and click on the shareware and freeware button. It's only a
132K download. For OS X you will want the 1.1X version.
Here is part of my original press release:
--------------------------------------------------------------------------
Script Timer lets you schedule the execution of OSA based scripts, such as
those created using AppleScript. It will run your scripts at any time on a
daily, weekly, weekdays only, monthly, or one time basis as well as at
regular intervals ranging from minutes to weeks. Script Timer has an
extremely small memory footprint and is designed to run unobtrusively in the
background. The program comes with several sample scripts, including one to
remind you of upcoming appointments.
To try out Script Timer 1.1X, go to
http://www.theboss.net/appsmore and
click on the Shareware and Freeware button. Version 1.01, for users of
Macintosh OS 7.5 to 9.1, is still available and fully supported. It can be
obtained at the same location.
--------------------------------------------------------------------------
Hope this helps,
Don
>
Hey all,
>
>
I've been trying to get cron and perl/bash working to do this with
>
little success, so I'm hoping there's an easier way to do it in
>
AppleScript. What I want is simple: iTunes needs to quit at 5:30 AM,
>
Monday through Friday. Is there any way to script this in AppleScript?
>
My problem with the UNIX tools is that the "kill" command needs a
>
process number corresponding to the iTunes application, and that number
>
changes every time iTunes is opened. I figure
>
tell application "iTunes"
>
quit
>
end tell
>
is much easier than the 20-line perl script I'm working on...
>
So, if there's a way to schedule an AppleScript, I'd love to know :)
>
>
Thanks
>
Chris Garaffa
>
email@hidden
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
http://www.theboss.net/appsmore
email@hidden