• 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: What's the best way to run a script at a interval time period?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the best way to run a script at a interval time period?


  • Subject: Re: What's the best way to run a script at a interval time period?
  • From: "Marc K. Myers" <email@hidden>
  • Date: Wed, 17 Jan 2001 00:07:24 -0500
  • Organization: [very little]

Gregory Smith wrote:
> Date: Tue, 16 Jan 2001 11:20:58 -0800
> Subject: What's the best way to run a script at a interval time period?
> From: "Gregory Smith" <email@hidden>
> To: email@hidden
>
> Hello,
>
> I have an AppleScript that I currently run manually a few times a day. What
> is the best way to get the script to run automatically at a predetermined
> time interval while still allowing full use of the host computer while the
> script is "sleeping"?

Create a stay-open applet, launched from the Startup Items folder, with
an idle handler like this:

on idle
[do whatever the script does]
return (4 * hours) -- or however long you want between executions
end idle

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[1/17/01 12:06:21 AM]


  • Prev by Date: Re: Who called?
  • Next by Date: Re: SoundJam: "busy" detection
  • Previous by thread: Re: SoundJam: "busy" detection
  • Next by thread: Mounting Volumes
  • Index(es):
    • Date
    • Thread