2

Possible Duplicate:
User friendly way to schedule jobs in Mac OS X

I have a script that I want to run once every day. I know I can do this with cron but it also seems there should be a way to do it through the UI.

How can I schedule the script to run on a daily basis on OS X 10.6?

G-Man

user24241
  • 169
  • 2
  • 5

1 Answers1

2

You could schedule an event in iCal and set an alarm to "Run Script"

Steve Folly
  • 7,013
  • 2
  • 21
  • 15
  • I don't see a way for it to run daily tho – user24241 Jan 31 '10 at 19:13
  • +1 Although I find it odd coming from Windows, this is the "real" method for scheduling tasks through the Mac OS X GUI. – Stephen Jennings Jan 31 '10 at 19:15
  • @geoggreyf67 - set the event to repeat – Steve Folly Jan 31 '10 at 21:00
  • @Stephen: I wouldn't say it's the "real" method, but it's _one_ method. An alternative is to use Launch Daemons (or Agents if the script needs to use the GUI). http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/LaunchOnDemandDaemons.html , but that is a more technical solution that some people might find a bit daunting. – Steve Folly Jan 31 '10 at 21:02