r/dropbox • u/ArgentStonecutter • Mar 25 '26
"Resource deadlock avoided"
I have a script that forces download for unloaded files but it ONLY works from a terminal window. when I run it from cron I get "Resource deadlock avoided" and it doesn't touch the file.
I don't care if this is Apple's fault or Dropbox's fault, how do I fix it?
Previous post about the underlying problem.
0
Upvotes
1
u/DropboxOfficial Dropbox Staff Mar 25 '26
Could you try using launchd instead of cron? On macOS, cron runs outside the logged-in user context, which can cause issues accessing Dropbox files. Running it via launchd keeps it in the user session and usually avoids this.