use of the Current time test

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

Moderator: Mr_Noodle

use of the Current time test 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?
rleaver152
 
Posts: 11
Joined: Sun Apr 30, 2017 3:24 pm

Re: use of the Current time test 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.
Mr_Noodle
Site Admin
 
Posts: 11247
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: use of the Current time test 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 :-)
rleaver152
 
Posts: 11
Joined: Sun Apr 30, 2017 3:24 pm

Re: use of the Current time test Thu Sep 13, 2018 11:05 am • by Mr_Noodle
No problem. Glad everything is working now.
Mr_Noodle
Site Admin
 
Posts: 11247
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron