Run Scripts at Specified Time

Discussion in 'Mac Programming' started by Geek 2.0, Feb 18, 2009.

  1. Geek 2.0
    Expand Collapse
    macrumors member

    Mar 28, 2007
    How would I get my computer to run a script at a given time? Say I want my computer to run a script every morning at 8 AM. How would I do such a thing? Sorry, I'm not too experienced with Applescript or anything along those lines.

    Also, as a side question, is there a way to have an Applescript constantly check for something? Or am I thinking of a daemon?
  2. robbieduncan
    Expand Collapse
    Moderator emeritus


    Jul 24, 2002
    launchd is probably the best way.

    You may find lingon more friendly than editing the config manually.
  3. swiftaw
    Expand Collapse
    macrumors 603


    Jan 31, 2005
    Omaha, NE, USA
    Or, create an event in iCal, then set an alarm, and choose the run script option.

Share This Page