Page 1 of 1

rule doesn't work if not forced

PostPosted: Mon Mar 30, 2015 5:24 am
by dany901
Hi, i have a rule with a bash script (cut the content of a specific file, when it changes, and put that in clipboard) that not run until i forced it. When i force the rule, it works correctly with no problem.

The rule is this: Image

Re: rule doesn't work if not forced

PostPosted: Mon Mar 30, 2015 11:19 am
by Mr_Noodle
Check the troubleshooting article stickied at the top of this forum. Report back with the diagnostics listed there.

Re: rule doesn't work if not forced

PostPosted: Fri Apr 03, 2015 3:58 am
by dany901
Hi. Sorry for the late of this replay.

Here an exemple log line (with debug flag enabled) when Hazel has not run my script.

2015-04-02 23:13:42.308 hazelworker[35563] DEBUG: Clipboard_jd.txt: TheRuleName. Not executing actions.


next i forced the rule and it run with no problem.

I can add an information: Clipboard_jd.txt stays in a Dropbox folder. I red from this thread viewtopic.php?f=1&t=4653 that there is a problem with Shared folders but Clipboard_jd.txt's is not shared with anyone.

Re: rule doesn't work if not forced

PostPosted: Fri Apr 03, 2015 11:32 am
by Mr_Noodle
That means that Hazel already ran the rule. It won't run the actions again on it unless, of course, you force it. If you need the rule to run more than once, you need to add conditions to Hazel (like something date based) to tell it to do so.