Kenoli Oleari1 wrote:
How do I schedule an automator script to run at a certain time every day?
This used to be done through iCalendar and this option is no longer available.
How do I do this?
--Kenoli
You can use lauchd to run the script.
Here's an example of an Automator App that I have scheduled to run at 7am daily:
You would save this as com.yourname.plist and put it the the Folder: ~/Library/LaunchAgents/ (then log out and back in, or reboot)
(To run a workflow, change open to automator)
(A nice GUI launchd editor is Lingon)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.tonyt.EventReport</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>/Users/Tony/Library/Scripts/Events Report.app</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>7</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
</dict>
</plist>