• 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
Killing a process at a certain time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Killing a process at a certain time


  • Subject: Killing a process at a certain time
  • From: Chris Garaffa <email@hidden>
  • Date: Tue, 04 Sep 2001 00:30:05 -0400

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


  • Prev by Date: Jon's Commands
  • Next by Date: Re: Jon's Commands
  • Previous by thread: Re: Jon's Commands
  • Next by thread: Re: Killing a process at a certain time
  • Index(es):
    • Date
    • Thread