Page 1 of 1

Hazel worked on first run but no longer works

PostPosted: Sat Nov 13, 2021 10:12 am
by T_Argus
Hey

I set up a couple of rules that I ran and which worked great but now they aren't working automatically or manually.
How do I fix this? Also when Hazel does run automatically does it run the very instant something meets the criteria or is it based on a shedule?

Thanks in advance!

Re: Hazel worked on first run but no longer works

PostPosted: Mon Nov 15, 2021 11:25 am
by Mr_Noodle
Try the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results of each test.

Re: Hazel worked on first run but no longer works

PostPosted: Tue Nov 16, 2021 9:49 pm
by ringgit
T_Argus wrote:Also when Hazel does run automatically does it run the very instant something meets the criteria or is it based on a shedule?

Thanks in advance!


I'm not OP but I'd be interested to know when does Hazel runs. My debug console this morning (2021-11-17 09:28:26.164) looked like the code below. It's 09:47 now, which is around 20 minutes since last logged line and I just detached a file into the Downloads folder but it doesn't seem like Hazel is running due to additions to the folder.

Interestingly, there is a "Timer scheduled for folder" debug line - does it mean Hazel is running on a fixed time frame?

Code: Select all
2021-11-16 20:05:42.322 86Z3GCJ4MF.com.noodlesoft.HazelHelper[911] DEBUG: Timer scheduled for folder /Users/david/Downloads at 4001-01-01 00:00:00 +0000
2021-11-16 20:05:42.323 86Z3GCJ4MF.com.noodlesoft.HazelHelper[911] DEBUG: Thread 0x600000654600: Task removed: [11101]
2021-11-16 20:28:24.713 86Z3GCJ4MF.com.noodlesoft.HazelHelper[911] DEBUG: Thread 0x600000654600: Machine woke up.
2021-11-16 20:28:24.725 86Z3GCJ4MF.com.noodlesoft.HazelHelper[911] DEBUG: Program is licensed.
2021-11-16 21:50:34.810 86Z3GCJ4MF.com.noodlesoft.HazelHelper[911] DEBUG: Thread 0x600000654600: Machine woke up.
2021-11-16 21:50:34.843 86Z3GCJ4MF.com.noodlesoft.HazelHelper[911] DEBUG: Program is licensed.
2021-11-17 09:28:26.146 86Z3GCJ4MF.com.noodlesoft.HazelHelper[911] DEBUG: Thread 0x600000654600: Machine woke up.
2021-11-17 09:28:26.164 86Z3GCJ4MF.com.noodlesoft.HazelHelper[911] DEBUG: Program is licensed.

Re: Hazel worked on first run but no longer works

PostPosted: Wed Nov 17, 2021 10:16 am
by Mr_Noodle
It does run when a file meets the criteria or when there are modifications that Hazel needs to check. There are exceptions, like network drives, which do not send out file events for file changes and have to be polled.

When Hazel schedules, it is doing so based on a prediction/calculation of the files currently there and the rule conditions you have. In the case you posted, it is so far in the future that it basically will not fire. This is because there are no time based conditions at the moment that come into play. If there's a modification to the rules or files, then Hazel will wake up, match rules and re-calculate based on the new info.

Re: Hazel worked on first run but no longer works

PostPosted: Wed Nov 17, 2021 3:56 pm
by T_Argus
Works now!

Re: Hazel worked on first run but no longer works

PostPosted: Thu Nov 18, 2021 5:55 am
by ringgit
Mr_Noodle wrote:It does run when a file meets the criteria or when there are modifications that Hazel needs to check. There are exceptions, like network drives, which do not send out file events for file changes and have to be polled.


I dropped a file on the Download folder, waited and nothing happened. The Hazel Rule Status button shows that the rules match. It's just that Hazel doesn't run. But, when I double click on the file, a PDF, then Hazel does its thing. Or, when I manually run it from the menu bar.

I suspect my reason for Hazel not running on my Downloads folder automatically has to do with it being paused in the menu bar. I have created a separate thread of that. Please see: https://www.noodlesoft.com/forums/viewtopic.php?f=4&t=14101
I can't seem to unpause it in menu bar.