Page 1 of 1

use of the Current time test

PostPosted: Wed Sep 12, 2018 8:04 am
by rleaver152
I currently have a rule validating against
a) current time is after 1300 any day
AND
b) current time is before 1330 any day
AND
c) any file

Files placed in the monitored folder are moved to another folder (for the purposes of testing)


However I find that if files are placed in the monitored folder ahead of time and therefore registered with Hazel, when the appointed time slot is matched, the rule no longer reliably fires - I get variable results. As opposed to if the files are placed in the monitored folder within the time slot and then the match happens and the rule fires. Do I need a file 'touching' all files in a monitored folder between the time slots first before invoking my matching rule?

Re: use of the Current time test

PostPosted: Wed Sep 12, 2018 11:49 am
by Mr_Noodle
Check the logs. Go to the "Info" section and click "View Log". Find a file that was added before the time period and email/post the relevant logs.

Re: use of the Current time test

PostPosted: Thu Sep 13, 2018 3:49 am
by rleaver152
somewhat embarrassingly, a long overdue restart after the post seems to have got everything running 100% on an extended overnight test (flipping files backwards and forwards between two test directories on successively advancing alternate current time slot rules).

Sorry for taking up bandwidth :-)

Re: use of the Current time test

PostPosted: Thu Sep 13, 2018 11:05 am
by Mr_Noodle
No problem. Glad everything is working now.