Run AppleScript at time

Posted:
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

Re: Run AppleScript at time

Posted:
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.
Re: Run AppleScript at time

Posted:
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?
Re: Run AppleScript at time

Posted:
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