File in Use

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

Moderator: Mr_Noodle

File in Use Thu Sep 23, 2021 12:29 pm • by mrtoner
I'm mounting an external device over the network with Mountain Duck; the device is recording a livestreamed video. When the video is done, I want it transferred to an external HDD/SSD.

I have the rule down to do this, but I've found that I need to include a condition to wait until a while after the recording is expected to be done (currently 24 hours), otherwise Mountain Duck gets wonky. I'd like to have the process start earlier and it seems that a "file (not) in use" condition would be useful; however, I'm not finding that.

Am I missing this condition — or is Hazel?
mrtoner
 
Posts: 17
Joined: Thu Mar 15, 2012 11:54 pm

Re: File in Use Fri Sep 24, 2021 9:18 am • by Mr_Noodle
Main problem is that Mountain Duck is not using the proper file locking primitives Hazel uses to detect if a file is in use. To work around that, you can try a condition like "Date modified is not in the last X minutes/hours" to wait a bit after the last time it was written to.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron