How to run custom command or script after syncing complete?

So that is the question. Is there trigger or smth?

You would need to listen to the Event API, specifically to the FolderCompletion Event. If the completion is 100, the folder is fully synced.

Is there any simple golang app with event listening example? I found only python.

Yes, see lib/rc and cmd/stevents in the main repo.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.