Run AppleScript at time

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Run AppleScript at time Wed Jan 27, 2016 11:46 am • by adayzdone
I am trying to run an AppleScript daily at a specific time. When I created a test rule, it continuously runs the script over and over again. What is going on?

Running
10.10.5 (14F1021)
Hazel 3.3.6

Image
adayzdone
 
Posts: 2
Joined: Fri Sep 14, 2012 11:16 am

Re: Run AppleScript at time Wed Jan 27, 2016 12:18 pm • by Mr_Noodle
Understand that the rule will match every file that hasn't matched in the last two minutes and will fire for each one. If that's not what you want, then you need to restructure things, like maybe having Hazel match the folder containing the files instead.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Run AppleScript at time Wed Jan 27, 2016 12:49 pm • by adayzdone
Mr_Noodle wrote:Understand that the rule will match every file that hasn't matched in the last two minutes and will fire for each one. If that's not what you want, then you need to restructure things, like maybe having Hazel match the folder containing the files instead.


Will you please give an example of the best way to have an applescript run 1 time every day at a specific time?
adayzdone
 
Posts: 2
Joined: Fri Sep 14, 2012 11:16 am

Re: Run AppleScript at time Wed Jan 27, 2016 2:31 pm • by Mr_Noodle
Does the script not care about the file being passed in? If that's the case, maybe you are better off just using iCal. Set up a repeating appointment and have it open your script. Check out this article: http://www.peachpit.com/blogs/blog.aspx ... pleScripts
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support